разделение модулей
This commit is contained in:
parent
6b018c2044
commit
2c3a938054
@ -219,9 +219,8 @@ def map_index(request):
|
||||
@never_cache
|
||||
def main_index(request):
|
||||
try:
|
||||
radiusapi = settingsmodule.get_settings('radiusapi','False')
|
||||
|
||||
if radiusapi:
|
||||
wlocation_module = settingsmodule.get_settings('wlocationsystem','')
|
||||
if wlocation_module == 'Radiusip':
|
||||
return views_radiusapi.map_index(request)
|
||||
|
||||
lon = str(float(settingsmodule.get_settings('longitude', '86.10111978605353'))) # долгота центра
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user