diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-25 18:41:39 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-25 18:41:39 +0200 |
commit | 223aa279414dae547db923212babc0b5017745c0 (patch) | |
tree | 088ef55461037e6b47d3a3d59db81e3a07cbc930 /archaeological_finds/urls.py | |
parent | 2bae28290b1802d27a560da184476b83c711c5a1 (diff) | |
download | Ishtar-223aa279414dae547db923212babc0b5017745c0.tar.bz2 Ishtar-223aa279414dae547db923212babc0b5017745c0.zip |
Basic template for Find sheet (refs #1314)
Diffstat (limited to 'archaeological_finds/urls.py')
-rw-r--r-- | archaeological_finds/urls.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/archaeological_finds/urls.py b/archaeological_finds/urls.py index 3d45eb106..eb1c8fcaf 100644 --- a/archaeological_finds/urls.py +++ b/archaeological_finds/urls.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2010-2012 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2010-2013 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -47,4 +47,10 @@ urlpatterns += patterns('archaeological_finds.views', name='get-find-full', kwargs={'full':True}), url(r'get-findsource/(?P<type>.+)?$', 'get_findsource', name='get-findsource'), + url(r'show-find/(?P<pk>.+)?/(?P<type>.+)?$', 'show_find', + name='show-find'), + url(r'show-historized-find/(?P<pk>.+)?/(?P<date>.+)?$', + 'show_find', name='show-historized-find'), + url(r'revert-find/(?P<pk>.+)/(?P<date>.+)$', + 'revert_find', name='revert-find'), ) |