Skip to content

Instantly share code, notes, and snippets.

@phpdude
Last active Aug 29, 2015
Embed
What would you like to do?
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