0.0.8 Services

This commit is contained in:
SDE
2023-11-26 16:55:19 +03:00
parent 1b41ae9f56
commit 590942b1c2
5 changed files with 72 additions and 9 deletions

View File

@@ -2,5 +2,5 @@ from .models import *
def get_sections():
sections = Section.objects.filter(enable=True)
sections = Section.objects.filter(enable=True).order_by('order')
return sections