mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Adde urls for app
This commit is contained in:
parent
e87f202b1f
commit
8b39d4e429
8 changed files with 38 additions and 23 deletions
10
accounts/urls.py
Normal file
10
accounts/urls.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from django.conf.urls import url
|
||||
from . import views
|
||||
|
||||
urlpatterns =[
|
||||
url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}, name='login'),
|
||||
url(r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': 'logout.html'}, name='logout'),
|
||||
url(r'^profile/$', views.profile, name='profile'),
|
||||
url(r'^$', views.accounts, name='accounts'),
|
||||
url(r'^profile/(\d+)/$', views.account, name='account'),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue