Erste Datenstruktur angelegt. CSV-Import vorbereitet.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
from rest_framework.authtoken.views import obtain_auth_token
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
|
||||
# API Endpunkte
|
||||
path('api/v1/auth/', include([
|
||||
# Hier kommen später unsere Login/Register Viewsets hin
|
||||
path('token/', obtain_auth_token, name='api-token'),
|
||||
])),
|
||||
|
||||
path('api/v1/accounts/', include('accounts.urls')),
|
||||
path('api/v1/tournaments/', include('tournaments.urls')),
|
||||
]
|
||||
o
|
||||
|
||||
Reference in New Issue
Block a user