Skip to content

Instantly share code, notes, and snippets.

@4k45hv3rm4
Created July 16, 2020 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4k45hv3rm4/aeecd085fcc68354f8d0aabdf3f0ddea to your computer and use it in GitHub Desktop.
Save 4k45hv3rm4/aeecd085fcc68354f8d0aabdf3f0ddea to your computer and use it in GitHub Desktop.
from django.urls import path
from account.views import (
home,
login_view,
logout_view,
account_view
registration_view,
)
urlpatterns = [
path('register/',registration_view, name="register" ),
path('logout/',logout_view, name="logout" ),
path('login/',login_view, name="login" ),
path('home/',home, name="home" ),
path('profile/',account_view, name="account" ),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment