0.7.96
fix articles page
This commit is contained in:
7
GeneralApp/init_options.py
Normal file
7
GeneralApp/init_options.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from .models import *
|
||||
|
||||
def init():
|
||||
options = Option.objects.all()
|
||||
option_names = options.values_list('name', flat=True)
|
||||
#
|
||||
# if not 'mail_server_url':
|
||||
@@ -154,3 +154,7 @@ def get_color_by_number(value, arg=None):
|
||||
#
|
||||
# return s
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -32,6 +32,10 @@ def test_code(request):
|
||||
return HttpResponse('finished')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def MainPage(request):
|
||||
from RoutesApp.forms import RouteForm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user