-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fcm * FCM * FCM * FCM Authorized * removed lint errors * removed lint errors 2 * removed lint errors 2 * Update Pipfile * Update Pipfile * updated pipenv * updated pipenv * Removed lint errors * Removed lint errors * Removed lint errors
- Loading branch information
1 parent
98a2115
commit 4739219
Showing
9 changed files
with
385 additions
and
234 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,8 +1,16 @@ | ||
from django.urls import path | ||
from django.conf.urls import url, include | ||
from rest_framework.routers import DefaultRouter | ||
from fcm_django.api.rest_framework import FCMDeviceAuthorizedViewSet | ||
from .views import LoginView, ProfileView, ProfileSearchView | ||
|
||
|
||
router = DefaultRouter() | ||
router.register(r'devices', FCMDeviceAuthorizedViewSet) | ||
|
||
urlpatterns = [ | ||
path('login/', LoginView.as_view(), name='login'), | ||
path('profile/', ProfileView.as_view(), name='profile'), | ||
path('profile/search/', ProfileSearchView.as_view(), name='profile-search'), | ||
url(r'^', include(router.urls)), | ||
] |
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 |
---|---|---|
|
@@ -8,3 +8,4 @@ gunicorn==19.9.0 | |
pyAesCrypt==0.4.3 | ||
pylint-django==2.0.13 | ||
python-decouple==3.1 | ||
fcm-django==0.3.4 |
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