Update deps (Django 2.2)
parent
82bb660cfe
commit
ffb97bf194
@ -1,39 +1,37 @@
|
||||
from django.conf.urls import include, url
|
||||
from django.urls import path, include
|
||||
from django.contrib import admin
|
||||
from django.contrib.auth import views as auth_views
|
||||
|
||||
from . import views
|
||||
from lambdainst import views as account_views
|
||||
|
||||
from lambdainst import urls as account_urls, views as account_views
|
||||
from payments import urls as payments_urls
|
||||
from tickets import urls as tickets_urls
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^admin/status$', account_views.admin_status, name='admin_status'),
|
||||
url(r'^admin/referrers$', account_views.admin_ref, name='admin_ref'),
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
path('admin/status', account_views.admin_status, name='admin_status'),
|
||||
path('admin/referrers', account_views.admin_ref, name='admin_ref'),
|
||||
path('admin/', admin.site.urls),
|
||||
|
||||
url(r'^api/locations$', account_views.api_locations),
|
||||
url(r'^api/auth$', account_views.api_auth),
|
||||
path('api/locations', account_views.api_locations),
|
||||
path('api/auth', account_views.api_auth),
|
||||
|
||||
url(r'^$', views.index, name='index'),
|
||||
url(r'^ca.crt$', account_views.ca_crt),
|
||||
url(r'^setlang$', views.set_lang, name='set_lang'),
|
||||
url(r'^chat$', views.chat, name='chat'),
|
||||
url(r'^page/(?P<name>[a-zA-Z0-9_-]+)$', views.page, name='page'),
|
||||
url(r'^status$', account_views.status),
|
||||
path('', views.index, name='index'),
|
||||
path('ca.crt', account_views.ca_crt),
|
||||
path('setlang', views.set_lang, name='set_lang'),
|
||||
path('chat', views.chat, name='chat'),
|
||||
path('page/<name>', views.page, name='page'),
|
||||
path('status', account_views.status),
|
||||
|
||||
url(r'^account/forgot$', auth_views.password_reset,
|
||||
path('account/forgot', auth_views.PasswordResetView.as_view(),
|
||||
{}, name='password_reset'),
|
||||
url(r'^account/forgot_done$', auth_views.password_reset_done,
|
||||
path('account/forgot_done', auth_views.PasswordResetDoneView.as_view(),
|
||||
name='password_reset_done'),
|
||||
url(r'^account/reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
|
||||
auth_views.password_reset_confirm, name='password_reset_confirm'),
|
||||
url(r'^account/reset/done/$', auth_views.password_reset_complete,
|
||||
path('account/reset/<uidb64>/<token>/',
|
||||
auth_views.PasswordResetConfirmView.as_view(), name='password_reset_confirm'),
|
||||
path('account/reset/done/', auth_views.PasswordResetCompleteView.as_view(),
|
||||
name='password_reset_complete'),
|
||||
|
||||
url(r'^account/', include(account_urls, namespace='account')),
|
||||
url(r'^payments/', include(payments_urls, namespace='payments')),
|
||||
url(r'^tickets/', include(tickets_urls, namespace='tickets')),
|
||||
|
||||
path('account/', include('lambdainst.urls', namespace='account')),
|
||||
path('payments/', include('payments.urls', namespace='payments')),
|
||||
path('tickets/', include('tickets.urls', namespace='tickets')),
|
||||
]
|
||||
|
||||
|
@ -1,19 +1,21 @@
|
||||
from django.conf.urls import url
|
||||
from django.urls import path
|
||||
from django.contrib.auth import views as auth_views
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = 'lambdainst'
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^login$', auth_views.login, name='login'),
|
||||
url(r'^discourse_login', views.discourse_login, name='discourse_login'),
|
||||
url(r'^logout$', views.logout, name='logout'),
|
||||
url(r'^signup$', views.signup, name='signup'),
|
||||
path('login', auth_views.LoginView.as_view(), name='login'),
|
||||
path('discourse_login', views.discourse_login, name='discourse_login'),
|
||||
path('logout', views.logout, name='logout'),
|
||||
path('signup', views.signup, name='signup'),
|
||||
|
||||
url(r'^settings', views.settings),
|
||||
url(r'^config_dl', views.config_dl),
|
||||
url(r'^config', views.config),
|
||||
url(r'^logs', views.logs),
|
||||
url(r'^gift_code', views.gift_code),
|
||||
url(r'^trial', views.trial),
|
||||
url(r'^', views.index, name='index'),
|
||||
path('settings', views.settings),
|
||||
path('config_dl', views.config_dl),
|
||||
path('config', views.config),
|
||||
path('logs', views.logs),
|
||||
path('gift_code', views.gift_code),
|
||||
path('trial', views.trial),
|
||||
path('', views.index, name='index'),
|
||||
]
|
||||
|
@ -0,0 +1,84 @@
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
disable=print-statement,
|
||||
parameter-unpacking,
|
||||
unpacking-in-except,
|
||||
old-raise-syntax,
|
||||
backtick,
|
||||
long-suffix,
|
||||
old-ne-operator,
|
||||
old-octal-literal,
|
||||
import-star-module-level,
|
||||
non-ascii-bytes-literal,
|
||||
raw-checker-failed,
|
||||
bad-inline-option,
|
||||
locally-disabled,
|
||||
file-ignored,
|
||||
suppressed-message,
|
||||
useless-suppression,
|
||||
deprecated-pragma,
|
||||
use-symbolic-message-instead,
|
||||
apply-builtin,
|
||||
basestring-builtin,
|
||||
buffer-builtin,
|
||||
cmp-builtin,
|
||||
coerce-builtin,
|
||||
execfile-builtin,
|
||||
file-builtin,
|
||||
long-builtin,
|
||||
raw_input-builtin,
|
||||
reduce-builtin,
|
||||
standarderror-builtin,
|
||||
unicode-builtin,
|
||||
xrange-builtin,
|
||||
coerce-method,
|
||||
delslice-method,
|
||||
getslice-method,
|
||||
setslice-method,
|
||||
no-absolute-import,
|
||||
old-division,
|
||||
dict-iter-method,
|
||||
dict-view-method,
|
||||
next-method-called,
|
||||
metaclass-assignment,
|
||||
indexing-exception,
|
||||
raising-string,
|
||||
reload-builtin,
|
||||
oct-method,
|
||||
hex-method,
|
||||
nonzero-method,
|
||||
cmp-method,
|
||||
input-builtin,
|
||||
round-builtin,
|
||||
intern-builtin,
|
||||
unichr-builtin,
|
||||
map-builtin-not-iterating,
|
||||
zip-builtin-not-iterating,
|
||||
range-builtin-not-iterating,
|
||||
filter-builtin-not-iterating,
|
||||
using-cmp-argument,
|
||||
eq-without-hash,
|
||||
div-method,
|
||||
idiv-method,
|
||||
rdiv-method,
|
||||
exception-message-attribute,
|
||||
invalid-str-codec,
|
||||
sys-max-int,
|
||||
bad-python3-import,
|
||||
deprecated-string-function,
|
||||
deprecated-str-translate-call,
|
||||
deprecated-itertools-function,
|
||||
deprecated-types-field,
|
||||
next-method-defined,
|
||||
dict-items-not-iterating,
|
||||
dict-keys-not-iterating,
|
||||
dict-values-not-iterating,
|
||||
deprecated-operator-function,
|
||||
deprecated-urllib-function,
|
||||
xreadlines-attribute,
|
||||
deprecated-sys-function,
|
||||
exception-escape,
|
||||
comprehension-escape,
|
||||
missing-docstring,
|
||||
trailing-newlines
|
||||
|
@ -1,14 +1,16 @@
|
||||
from django.conf.urls import url
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
app_name = 'tickets'
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^new$', views.new, name='new'),
|
||||
url(r'^view/(?P<id>[0-9]+)$', views.view, name='view'),
|
||||
url(r'^$', views.index, name='index'),
|
||||
url(r'^open$', views.index, dict(f='open'), name='index_open'),
|
||||
url(r'^closed$', views.index, dict(f='closed'), name='index_closed'),
|
||||
url(r'^all_open$', views.index, dict(f='open', all=True), name='index_open_all'),
|
||||
url(r'^all_closed$', views.index, dict(f='closed', all=True), name='index_closed_all'),
|
||||
path('new', views.new, name='new'),
|
||||
path('view/<id>', views.view, name='view'),
|
||||
path('', views.index, name='index'),
|
||||
path('open', views.index, dict(f='open'), name='index_open'),
|
||||
path('closed', views.index, dict(f='closed'), name='index_closed'),
|
||||
path('all_open', views.index, dict(f='open', all=True), name='index_open_all'),
|
||||
path('all_closed', views.index, dict(f='closed', all=True), name='index_closed_all'),
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue