Created
December 1, 2019 10:06
-
-
Save Daniiarz/fb3285d04d70b4aee9c8f367f874af48 to your computer and use it in GitHub Desktop.
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
from django.urls import path, include | |
from rest_framework.routers import DefaultRouter | |
from . import views | |
# router = DefaultRouter() | |
# router.register(r"roles", views.RoleViewSet) | |
urlpatterns = [ | |
path("roles/", views.RoleViews.as_view(), name="roles") | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment