diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-02-23 15:30:58 +0000 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-02-23 15:30:58 +0000 |
commit | a1f02e575f6c379fd1a66cbfdefe8b9f29800297 (patch) | |
tree | 5f9f1791ea31f765974087ae879f248f3a3c18be /urls.py | |
parent | f58b1db9208b5a7509699b2a34f70fb275fb8b65 (diff) | |
download | troggle-a1f02e575f6c379fd1a66cbfdefe8b9f29800297.tar.gz troggle-a1f02e575f6c379fd1a66cbfdefe8b9f29800297.tar.bz2 troggle-a1f02e575f6c379fd1a66cbfdefe8b9f29800297.zip |
Prevent troggle adding the menu if there is one in the file
Add a Docker compose file to bring up a dev troggle easily
Various PEP improvments
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ actualurlpatterns = patterns('', #url(r'^person/(\w+_\w+)$', views_logbooks.person, name="person"), url(r'^expedition/(\d+)$', views_logbooks.expedition, name="expedition"), - url(r'^expeditions/?$', ListView, {'queryset':Expedition.objects.all(),'template_name':'object_list.html'},name="expeditions"), + url(r'^expeditions/?$', views_logbooks.ExpeditionListView.as_view(), name="expeditions"), url(r'^personexpedition/(?P<first_name>[A-Z]*[a-z]*)[^a-zA-Z]*(?P<last_name>[A-Z]*[a-z]*)/(?P<year>\d+)/?$', views_logbooks.personexpedition, name="personexpedition"), url(r'^logbookentry/(?P<date>.*)/(?P<slug>.*)/?$', views_logbooks.logbookentry,name="logbookentry"), url(r'^newlogbookentry/(?P<expeditionyear>.*)$', views_logbooks.newLogbookEntry, name="newLogBookEntry"), |