backend #5

Merged
s460930 merged 5 commits from backend into develop 2020-12-09 20:59:40 +01:00
4 changed files with 20 additions and 0 deletions
Showing only changes of commit 3c6736c98c - Show all commits

View File

@ -1,3 +1,7 @@
"""
@author: p.dolata
"""
from rest_framework import status
from rest_framework.generics import RetrieveAPIView, CreateAPIView
from rest_framework.permissions import AllowAny

View File

@ -0,0 +1,11 @@
"""
@author: p.dolata
"""
from django.conf.urls import url
from smartpicasso.app.user_profile.views import UserProfileView
urlpatterns = [
url(r'^profile', UserProfileView.as_view(), name='profile')
]

View File

@ -1,3 +1,7 @@
"""
@author: p.dolata
"""
from rest_framework import status
from rest_framework.generics import RetrieveAPIView
from rest_framework.permissions import IsAuthenticated

View File

@ -18,5 +18,6 @@ from django.urls import path, include
urlpatterns = [
path('api/', include('smartpicasso.app.user.urls')),
path('api/', include('smartpicasso.app.user_profile.urls')),
path('admin/', admin.site.urls),
]