Create views and templates to render the views for a list of games And for it to show if server is running for the game selected. Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
12 lines
469 B
Python
12 lines
469 B
Python
from django.conf import settings
|
|
from django.conf.urls.static import static
|
|
from django.urls import path
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.home, name='home'),
|
|
path('games/', views.games, name='games'),
|
|
path('games/<str:game_name>/', views.game_detail, name='game_detail'),
|
|
# path('active-servers/', views.active_servers_view, name='active-servers'),
|
|
# path('games/<str:game_name>/', views.game_servers_view, name='game-servers'),
|
|
] |