16 lines
602 B
Python
16 lines
602 B
Python
from django.urls import path
|
|
from .views import *
|
|
|
|
urlpatterns = [
|
|
path('provinces/', ProvincesView.as_view()),
|
|
path('provinces/<int:pk>/', ProvinceView.as_view()),
|
|
path('assault_troops/', AssaultTroopsView.as_view()),
|
|
path('assault_troops/<int:nm>/', AssaultTroopView.as_view()),
|
|
path('players/', PlayersView.as_view()),
|
|
path('players/<int:nm>/', PlayerView.as_view()),
|
|
path('servers/', ServersView.as_view()),
|
|
path('servers/<int:nm>/', ServerView.as_view()),
|
|
path('user_data/', UserDataView.as_view()),
|
|
path('user_data/<int:pk>/', UserDatumView.as_view()),
|
|
]
|