diff options
author | admin <admin@krishna-K55VM.(none)> | 2015-03-17 19:26:15 +0530 |
---|---|---|
committer | admin <admin@krishna-K55VM.(none)> | 2015-03-17 19:26:15 +0530 |
commit | ed419157e1cdd4d5e26ddc195fa745e358701869 (patch) | |
tree | eb4b6f6399e1379618da84af2c885d5343b145ec /gnowsys-ndf/gnowsys_ndf/ndf/urls/version.py | |
parent | d8c4689192522f1287672c93ff307f2fc2ecf601 (diff) | |
download | gnowsys-ed419157e1cdd4d5e26ddc195fa745e358701869.tar.gz |
version history is shifted to individual view
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/version.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/version.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/version.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/version.py new file mode 100644 index 0000000..1ce983f --- /dev/null +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/version.py @@ -0,0 +1,7 @@ +from django.conf.urls import patterns, url + +urlpatterns = patterns('gnowsys_ndf.ndf.views.version', + url(r'^/(?P<node_id>[\w-]+)/version/(?P<version_no>\d+\.\d+)$', 'version_node', name='node_version'), + url(r'^(?P<node_id>[\w-]+)/merge/(?P<version_1>\d+\.\d+)/(?P<version_2>\d+\.\d+)$', 'merge_doc', name='merge_doc'), + url(r'^(?P<node_id>[\w-]+)/revert/(?P<version_1>\d+\.\d+)$', 'revert_doc', name='revert_doc'), + ) |