diff options
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'), ) |