Browse Source

Finish the reorg with templates

Colin Powell 2 năm trước cách đây
mục cha
commit
1303bb260e

+ 1 - 1
emus/settings.py

@@ -94,7 +94,7 @@ ROOT_URLCONF = "emus.urls"
 TEMPLATES = [
     {
         "BACKEND": "django.template.backends.django.DjangoTemplates",
-        "DIRS": [str(BASE_DIR.joinpath("templates"))],  # new
+        "DIRS": [str(PROJECT_ROOT.joinpath("templates"))],
         "APP_DIRS": True,
         "OPTIONS": {
             "context_processors": [

+ 0 - 0
templates/account/login.html → emus/templates/account/login.html


+ 0 - 0
templates/account/signup.html → emus/templates/account/signup.html


+ 0 - 0
templates/base.html → emus/templates/base.html


+ 0 - 0
templates/games/_game_card.html → emus/templates/games/_game_card.html


+ 0 - 0
templates/games/_game_table.html → emus/templates/games/_game_table.html


+ 0 - 0
templates/games/_pagination.html → emus/templates/games/_pagination.html


+ 0 - 0
templates/games/developer_detail.html → emus/templates/games/developer_detail.html


+ 0 - 0
templates/games/developer_list.html → emus/templates/games/developer_list.html


+ 0 - 0
templates/games/game_detail.html → emus/templates/games/game_detail.html


+ 0 - 0
templates/games/game_library_list.html → emus/templates/games/game_library_list.html


+ 0 - 0
templates/games/game_list.html → emus/templates/games/game_list.html


+ 0 - 0
templates/games/game_play_detail.html → emus/templates/games/game_play_detail.html


+ 0 - 0
templates/games/gamecollection_detail.html → emus/templates/games/gamecollection_detail.html


+ 0 - 0
templates/games/gamecollection_list.html → emus/templates/games/gamecollection_list.html


+ 0 - 0
templates/games/gamesystem_detail.html → emus/templates/games/gamesystem_detail.html


+ 0 - 0
templates/games/gamesystem_list.html → emus/templates/games/gamesystem_list.html


+ 0 - 0
templates/games/genre_detail.html → emus/templates/games/genre_detail.html


+ 0 - 0
templates/games/genre_list.html → emus/templates/games/genre_list.html


+ 0 - 0
templates/games/list.html → emus/templates/games/list.html


+ 0 - 0
templates/games/publisher_detail.html → emus/templates/games/publisher_detail.html


+ 0 - 0
templates/games/publisher_list.html → emus/templates/games/publisher_list.html


+ 0 - 0
templates/search/search.html → emus/templates/search/search.html