mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 07:47:13 +00:00
fixing bugs after wookey session
This commit is contained in:
4
urls.py
4
urls.py
@@ -50,13 +50,13 @@ Test VERY CAREFULLY for each change. It is fragile.
|
||||
|
||||
if settings.EXPOFILESREMOTE:
|
||||
expofilesurls = [
|
||||
path('/<path:filepath>', expofiles_redirect, name="expofiles_redirect"), # to http://expo.survex.com/expofiles
|
||||
path('<path:filepath>', expofiles_redirect, name="expofiles_redirect"), # to http://expo.survex.com/expofiles
|
||||
path('', expofiles_redirect, {'filepath': ""}, name="expofiles_redirect"),
|
||||
]
|
||||
else:
|
||||
expofilesurls = [
|
||||
path('/<path:filepath>', expofilessingle, name="single"), # local copy of EXPOFILES
|
||||
path('', expofilessingle, {'filepath': ""}, name="single"),
|
||||
path('<path:filepath>', expofilessingle, name="single"), # local copy of EXPOFILES
|
||||
]
|
||||
|
||||
# see https://docs.djangoproject.com/en/dev/topics/auth/default/
|
||||
|
||||
Reference in New Issue
Block a user