mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-22 18:29:34 +00:00
Add GET /api/club/{club_id} to fetch details about a club
This commit is contained in:
1 parent
1d55a5c2da
commit
44e1902693
6 files changed
+55
-11
No files matched your search
+1
-3
@@ -12,7 +12,6 @@
|
||||
# OR WITHIN THE LOCAL FILE "LICENSE"
|
||||
#
|
||||
#
|
||||
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
from django.contrib import admin
|
||||
@@ -26,8 +25,7 @@ js_info_dict = {"packages": ("sith",)}
|
||||
handler403 = "core.views.forbidden"
|
||||
handler404 = "core.views.not_found"
|
||||
handler500 = "core.views.internal_servor_error"
|
||||
|
||||
api = NinjaExtraAPI(version="0.2.0", urls_namespace="api", csrf=True)
|
||||
api = NinjaExtraAPI(title="Sith API", version="0.2.0", urls_namespace="api", csrf=True)
|
||||
api.auto_discover_controllers()
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
Reference in new issue
Block a user