GameServerSupervisor/webpanel/urls.py
Pratyush Desai 5da520bc9d
Initial Commit
Base Functionality added. Adding a Server with
the image port  ip and other params specified
will spawn a container and one can manage the
lifecycle in the admin panel and the game server
detail view updates based on container status.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-01-20 05:02:25 +05:30

9 lines
334 B
Python

from django.urls import path
from . import views
urlpatterns = [
path('', views.home_view, name='home'),
path('<int:pk>/', 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'),
]