123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- from django.urls import path
- import games.views as views
- app_name = "games"
- urlpatterns = [
- path(
- "",
- views.RecentGameList.as_view(),
- name="game_list",
- ),
- path(
- "library/",
- views.LibraryGameList.as_view(),
- name="game_library_list",
- ),
- path(
- "publisher/",
- views.PublisherList.as_view(),
- name="publisher_list",
- ),
- path(
- "genre/",
- views.GenreList.as_view(),
- name="genre_list",
- ),
- path(
- "developer/",
- views.DeveloperList.as_view(),
- name="developer_list",
- ),
- path(
- "<str:slug>/",
- views.GameDetail.as_view(),
- name="game_detail",
- ),
- path(
- "<str:slug>/play/",
- views.GamePlayDetail.as_view(),
- name="game_play_detail",
- ),
- path(
- "system/<str:slug>/",
- views.GameSystemDetail.as_view(),
- name="game_system_detail",
- ),
- path(
- "genre/<str:slug>/",
- views.GenreDetail.as_view(),
- name="genre_detail",
- ),
- path(
- "publisher/<str:slug>/",
- views.PublisherDetail.as_view(),
- name="publisher_detail",
- ),
- path(
- "developer/<str:slug>/",
- views.DeveloperDetail.as_view(),
- name="developer_detail",
- ),
- ]
|