Created
June 30, 2021 00:33
-
-
Save WillianFuks/229324870cd2b9d85728090c0bce0cc3 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
# ./testapp/urls.py | |
from django.urls import path | |
from .views import ProtectedView, PermsProtectedView | |
urlpatterns = [ | |
path('protect/', ProtectedView.as_view(), name='protect'), | |
path('perms_protect/', PermsProtectedView.as_view(), name='perms_protect') | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment