Sync with v0.2.10, update python classifiers

This commit is contained in:
Garret Wassermann 2018-09-01 23:20:15 -04:00
commit ac0eb7d27b
3 changed files with 8 additions and 5 deletions

View File

@ -22,7 +22,8 @@ CLASSIFIERS = ['Development Status :: 4 - Beta',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Framework :: Django :: 2.0']
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1']
KEYWORDS = []
PACKAGES = ['demodesk']
REQUIREMENTS = [

View File

@ -185,13 +185,14 @@ urlpatterns += [
urlpatterns += [
url(r'^login/$',
auth_views.login,
{'template_name': 'helpdesk/registration/login.html'},
auth_views.LoginView.as_view(
template_name='helpdesk/registration/login.html'),
name='login'),
url(r'^logout/$',
auth_views.logout,
{'template_name': 'helpdesk/registration/login.html', 'next_page': '../'},
auth_views.LogoutView.as_view(
template_name='helpdesk/registration/login.html',
next_page='../'),
name='logout'),
]

View File

@ -131,6 +131,7 @@ setup(
"Programming Language :: Python :: 3.7",
"Framework :: Django",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Environment :: Web Environment",
"Operating System :: OS Independent",
"Intended Audience :: Customer Service",