-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from warrenshiv/techWhiz
Added CRUD (Create, Read, Update, Delete) functionalities to the artist API endpoints
- Loading branch information
Showing
21 changed files
with
42 additions
and
6 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 |
---|---|---|
|
@@ -3,3 +3,5 @@ venv/ | |
|
||
# Environment Variables | ||
.env | ||
|
||
db.sqlite3 |
Binary file not shown.
Binary file modified
BIN
+318 Bytes
(120%)
backend/artistsmgmt/api/__pycache__/serializers.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+956 Bytes
(140%)
backend/artistsmgmt/api/__pycache__/views.cpython-310.pyc
Binary file not shown.
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,9 +1,12 @@ | ||
from django.urls import path | ||
from .views import ArtistSignUpView, CustomAuthToken, LogoutView, ArtistOnlyView | ||
from .views import ArtistSignUpView, CustomAuthToken, LogoutView, ArtistOnlyView, ArtistCreateView, ArtistRetrieveUpdateDestroyView, ArtistUpdateView | ||
|
||
urlpatterns = [ | ||
path('signup', ArtistSignUpView.as_view(), name='signup'), | ||
path('login', CustomAuthToken.as_view(), name='login'), | ||
path('logout', LogoutView.as_view(), name='logout'), | ||
path('artist/dashboard', ArtistOnlyView.as_view(), name='artist_dashboard'), | ||
] | ||
path('artist/', ArtistCreateView.as_view(), name='artist-create'), | ||
path('artist/update/', ArtistUpdateView.as_view(), name='artist-update'), | ||
path('artists/<int:pk>/', ArtistRetrieveUpdateDestroyView.as_view(), name='artist-retrieve-update-destroy'), | ||
] |
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
Binary file modified
BIN
+0 Bytes
(100%)
backend/artistsmgmt/migrations/__pycache__/0001_initial.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
backend/artistsmgmt/migrations/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.