mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
fixing django version to 1.11.14 + other
This commit is contained in:
parent
1204c6d1b4
commit
3628e5f355
2 changed files with 4 additions and 7 deletions
|
@ -4,11 +4,8 @@ from django.contrib.auth import views as auth_views
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^login/$', 'django.contrib.auth.views.login',
|
url(r'^login/$', auth_views.LoginView.as_view(template_name='login.html'), name='login'),
|
||||||
{'template_name': 'login.html'}, name='login'),
|
url(r'^logout/$', auth_views.LogoutView.as_view(template_name='logout.html'), name='logout'),
|
||||||
url(r'^logout/$', 'django.contrib.auth.views.logout',
|
url(r'^profile/$', views.profile, name='profile'), url(r'^$', views.accounts, name='accounts'),
|
||||||
{'template_name': 'logout.html'}, name='logout'),
|
|
||||||
url(r'^profile/$', views.profile, name='profile'),
|
|
||||||
url(r'^$', views.accounts, name='accounts'),
|
|
||||||
url(r'^profile/(?P<user_id>[0-9]+)/$', views.account, name='account'),
|
url(r'^profile/(?P<user_id>[0-9]+)/$', views.account, name='account'),
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Django==1.8.11
|
Django==1.11.14
|
||||||
websockify==0.8.0
|
websockify==0.8.0
|
||||||
gunicorn==19.3.0
|
gunicorn==19.3.0
|
||||||
libvirt-python==3.10
|
libvirt-python==3.10
|
||||||
|
|
Loading…
Reference in a new issue