from django.urls import path,include
from snippet.views import SnippetCreateAPIView, SnippetDetailAPIView


app_name = 'snippet'

urlpatterns = [
    path('', SnippetCreateAPIView.as_view(), name="list"),
    path('auth/', include('rest_auth.urls')),
    path('auth/registration/', include('rest_auth.registration.urls')),
    path('<int:pk>/', SnippetDetailAPIView.as_view(), name="detail")
]
3ff56a784d3bc50d41d4f2dd98e712411c0070b6
<mask token>

<mask token>
app_name = 'snippet'
urlpatterns = [path('', SnippetCreateAPIView.as_view(), name='list'), path(
    'auth/', include('rest_auth.urls')), path('auth/registration/', include
    ('rest_auth.registration.urls')), path('<int:pk>/',
    SnippetDetailAPIView.as_view(), name='detail')]

from django.urls import path, include
from snippet.views import SnippetCreateAPIView, SnippetDetailAPIView
app_name = 'snippet'
urlpatterns = [path('', SnippetCreateAPIView.as_view(), name='list'), path(
    'auth/', include('rest_auth.urls')), path('auth/registration/', include
    ('rest_auth.registration.urls')), path('<int:pk>/',
    SnippetDetailAPIView.as_view(), name='detail')]

from django.urls import path,include
from snippet.views import SnippetCreateAPIView, SnippetDetailAPIView


app_name = 'snippet'

urlpatterns = [
    path('', SnippetCreateAPIView.as_view(), name="list"),
    path('auth/', include('rest_auth.urls')),
    path('auth/registration/', include('rest_auth.registration.urls')),
    path('<int:pk>/', SnippetDetailAPIView.as_view(), name="detail")
]