Source

indie-community / gamedb / urls.py

1
2
3
4
5
6
7
8
from django.conf.urls import patterns, url
from django.views.generic.base import TemplateView
from gamedb.views import ViewGame, GameList

urlpatterns = patterns('',
    url(r'^Games/$', GameList.as_view(), name='game_list'),
    url(r'^Games/(?P<slug>[\w-]+).html$', ViewGame.as_view(), name='game_detail'),
)