Skip to content

Instantly share code, notes, and snippets.

@phpdude
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpdude/e738fc331fbc7b1f7bc8 to your computer and use it in GitHub Desktop.
Save phpdude/e738fc331fbc7b1f7bc8 to your computer and use it in GitHub Desktop.
url(r'^(?P<slug_genre>[^/]+)/(?P<slug>[^/]+)/news/(?P<slug_item>[^/]+)$', views.GameNewsItem.as_view(), name="view_news_view")
url(r’^:slug_genre/:slug/news/:slug_item$', views.GameNewsItem.as_view(), name="view_news_view")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment