circuit
circuit social network code-documentation
Variables
posts.urls Namespace Reference

Variables

list urlpatterns
 

Detailed Description

@package posts.urls
Posts' app url patterns.

@author     7Pros
@copyright

Variable Documentation

list posts.urls.urlpatterns
Initial value:
1 = [
2  url(r'^create/$', views.post_create, name='create'),
3  url(r'^(?P<pk>\d+)/$', views.PostDetailView.as_view(), name='post'),
4  url(r'^(?P<pk>\d+)/edit/$', views.PostEditView.as_view(), name='edit'),
5  url(r'^(?P<pk>\d+)/repost/$', views.post_repost, name='repost'),
6  url(r'^(?P<pk>\d+)/reply/$', views.post_reply, name='reply'),
7  url(r'^(?P<pk>\d+)/delete/$', views.PostDeleteView.as_view(), name='delete'),
8  url(r'^(?P<pk>\d+)/favorite/$', views.post_favorite, name='favorite'),
9 ]