Source

indie-community / gamedb / urls.py

Diff from to

gamedb/urls.py

 from django.conf.urls import patterns, url
 from django.views.generic.base import TemplateView
-from gamedb.views import ViewGame
+from gamedb.views import ViewGame, GameList
 
 urlpatterns = patterns('',
-    url(r'^$', ViewGame.as_view()),
+    url(r'^Games/$', GameList.as_view(), name='game_list'),
+    url(r'^Games/(?P<slug>[\w-]+).html$', ViewGame.as_view(), name='game_detail'),
 )