This commit is contained in:
parent
a09ea81d42
commit
59c63f28de
@ -43,6 +43,7 @@ REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
'rest_framework.authentication.TokenAuthentication',
|
||||
|
||||
],
|
||||
'DEFAULT_PERMISSION_CLASSES': [
|
||||
'rest_framework.permissions.IsAuthenticated',
|
||||
@ -69,6 +70,7 @@ INSTALLED_APPS = [
|
||||
'dj_rest_auth.registration',
|
||||
"core",
|
||||
"jobposting",
|
||||
'oauth2_provider',
|
||||
]
|
||||
|
||||
SITE_ID = 1
|
||||
|
||||
@ -20,4 +20,5 @@ urlpatterns = [
|
||||
path("admin/", admin.site.urls),
|
||||
path("api/user/", include('core.urls')),
|
||||
path("api/jobposting/", include('jobposting.urls')),
|
||||
path('o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
]
|
||||
|
||||
@ -5,4 +5,5 @@ psycopg2-binary
|
||||
django-allauth
|
||||
dj-rest-auth
|
||||
django-cors-headers
|
||||
Pillow
|
||||
Pillow
|
||||
django-oauth-toolkit
|
||||
Loading…
x
Reference in New Issue
Block a user