-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2bb4570
commit 0786bfd
Showing
14 changed files
with
465 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ | |
**/jest* | ||
**/dist | ||
**/build | ||
**/.env.production | ||
|
||
# Envs | ||
*.env | ||
|
||
# Logs | ||
logs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
""" | ||
backend URL Configuration | ||
""" | ||
|
||
from django.contrib import admin | ||
from django.urls import path, include | ||
from rest_framework import routers | ||
|
||
from api import ConversationViewSet, UserViewSet, CustomObtainAuthTokenView | ||
|
||
router = routers.DefaultRouter() | ||
router.register('users', UserViewSet, basename='users') | ||
router.register('conversations', ConversationViewSet, basename='conversations') | ||
router.register("users", UserViewSet, basename="users") | ||
router.register("conversations", ConversationViewSet, basename="conversations") | ||
|
||
urlpatterns = [ | ||
path("api/", include(router.urls)), | ||
path('admin/', admin.site.urls), | ||
path("admin/", admin.site.urls), | ||
path("auth-token/", CustomObtainAuthTokenView.as_view()), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.