add blog vote
This commit is contained in:
parent
2a7a33fe1a
commit
c1cf8bc0e4
8 changed files with 242 additions and 7 deletions
|
@ -738,6 +738,8 @@ urlpatterns = [
|
|||
),
|
||||
),
|
||||
url(r"^blog/", paged_list_view(blog.PostList, "blog_post_list")),
|
||||
url(r"^post/upvote/$", blog.upvote_blog, name="blog_upvote"),
|
||||
url(r"^post/downvote/$", blog.downvote_blog, name="blog_downvote"),
|
||||
url(r"^post/(?P<id>\d+)-(?P<slug>.*)$", blog.PostView.as_view(), name="blog_post"),
|
||||
url(r"^license/(?P<key>[-\w.]+)$", license.LicenseDetail.as_view(), name="license"),
|
||||
url(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue