404.2.25
by franku
added old notification app to widelands; deactivated notification feed |
1 |
from django.conf.urls import url |
404.2.24
by franku
added the old threadedcomments app as wildelands app |
2 |
from threadedcomments import views |
3 |
||
4 |
||
5 |
urlpatterns = [ |
|
6 |
### Comments ###
|
|
438.1.6
by franku
run the script |
7 |
url(r'^comment/(?P<content_type>\d+)/(?P<object_id>\d+)/$', |
8 |
views.comment, name='tc_comment'), |
|
9 |
url(r'^comment/(?P<content_type>\d+)/(?P<object_id>\d+)/(?P<parent_id>\d+)/$', |
|
10 |
views.comment, name='tc_comment_parent'), |
|
11 |
url(r'^comment/(?P<edit_id>\d+)/edit/$', |
|
12 |
views.comment, name='tc_comment_edit'), |
|
13 |
||
404.2.24
by franku
added the old threadedcomments app as wildelands app |
14 |
### Comments (AJAX) ###
|
438.1.6
by franku
run the script |
15 |
url(r'^comment/(?P<content_type>\d+)/(?P<object_id>\d+)/(?P<ajax>json|xml)/$', |
16 |
views.comment, name='tc_comment_ajax'), |
|
17 |
url(r'^comment/(?P<content_type>\d+)/(?P<object_id>\d+)/(?P<parent_id>\d+)/(?P<ajax>json|xml)/$', |
|
18 |
views.comment, name='tc_comment_parent_ajax'), |
|
19 |
url(r'^comment/(?P<edit_id>\d+)/edit/(?P<ajax>json|xml)/$', |
|
20 |
views.comment, name='tc_comment_edit_ajax'), |
|
21 |
]
|