mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
More cleanup and modernisation
This commit is contained in:
parent
1974d0758a
commit
3fd805e26c
@ -257,7 +257,7 @@ def identifycavedircontents(gcavedir):
|
||||
# perhaps should use the database and have a reload button for it
|
||||
def survexcaveslist(request):
|
||||
cavesdir = os.path.join(settings.SURVEX_DATA, "caves")
|
||||
cavesdircontents = { }
|
||||
#cavesdircontents = { }
|
||||
|
||||
onefilecaves = [ ]
|
||||
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
|
||||
|
||||
|
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 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}),
|
||||
|
||||
|
||||
(r'^accounts/', include('registration.urls')),
|
||||
(r'^accounts/', include('registration.backends.default.urls')),
|
||||
(r'^profiles/', include('profiles.urls')),
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user