add /friends endpoint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
j3d1 2023-06-22 02:14:52 +02:00
parent 0b92db278b
commit 91cd5c57b3
15 changed files with 251 additions and 17 deletions

View file

@ -48,6 +48,7 @@ INSTALLED_APPS = [
'drf_yasg',
'authentication',
'hostadmin',
'toolshed',
]
REST_FRAMEWORK = {
@ -148,11 +149,6 @@ USE_TZ = True
STATIC_ROOT = 'staticfiles'
STATIC_URL = '/static/'
# Extra places for collectstatic to find static files.
STATICFILES_DIRS = (
BASE_DIR / 'static',
)
# Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field

View file

@ -32,5 +32,6 @@ urlpatterns = [
path('djangoadmin/', admin.site.urls),
path('auth/', include('authentication.api')),
path('admin/', include('hostadmin.api')),
path('api/', include('toolshed.api.friend')),
path('docs/', schema_view.with_ui('swagger', cache_timeout=0), name='api-docs'),
]