mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
More cleanup and modernisation
This commit is contained in:
parent
cedcb0988a
commit
cfa888fde6
@ -257,7 +257,7 @@ def identifycavedircontents(gcavedir):
|
|||||||
# perhaps should use the database and have a reload button for it
|
# perhaps should use the database and have a reload button for it
|
||||||
def survexcaveslist(request):
|
def survexcaveslist(request):
|
||||||
cavesdir = os.path.join(settings.SURVEX_DATA, "caves")
|
cavesdir = os.path.join(settings.SURVEX_DATA, "caves")
|
||||||
cavesdircontents = { }
|
#cavesdircontents = { }
|
||||||
|
|
||||||
onefilecaves = [ ]
|
onefilecaves = [ ]
|
||||||
multifilecaves = [ ]
|
multifilecaves = [ ]
|
||||||
|
@ -22,7 +22,7 @@ redirect. If you don't use that name, remember to explicitly pass
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from django.conf.urls.defaults import *
|
from django.conf.urls import *
|
||||||
|
|
||||||
from profiles import views
|
from profiles import views
|
||||||
|
|
||||||
|
4
urls.py
4
urls.py
@ -1,4 +1,4 @@
|
|||||||
from django.conf.urls.defaults import *
|
from django.conf.urls import *
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
from core.views import * # flat import
|
from core.views import * # flat import
|
||||||
@ -95,7 +95,7 @@ actualurlpatterns = patterns('',
|
|||||||
url(r'^troggle/media-admin/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ADMIN_DIR, 'show_indexes':True}),
|
url(r'^troggle/media-admin/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ADMIN_DIR, 'show_indexes':True}),
|
||||||
|
|
||||||
|
|
||||||
(r'^accounts/', include('registration.urls')),
|
(r'^accounts/', include('registration.backends.default.urls')),
|
||||||
(r'^profiles/', include('profiles.urls')),
|
(r'^profiles/', include('profiles.urls')),
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user