mirror of https://github.com/jumpserver/jumpserver
fix: 修改重定向
parent
eef172d0e2
commit
451690fe8b
|
@ -87,6 +87,7 @@ if settings.DEBUG:
|
||||||
|
|
||||||
# 兼容之前的
|
# 兼容之前的
|
||||||
old_app_pattern = '|'.join(apps)
|
old_app_pattern = '|'.join(apps)
|
||||||
|
old_app_pattern = r'^{}'.format(old_app_pattern)
|
||||||
urlpatterns += [re_path(old_app_pattern, views.redirect_old_apps_view)]
|
urlpatterns += [re_path(old_app_pattern, views.redirect_old_apps_view)]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ coreapi==2.3.3
|
||||||
coreschema==0.0.4
|
coreschema==0.0.4
|
||||||
cryptography==2.8
|
cryptography==2.8
|
||||||
decorator==4.1.2
|
decorator==4.1.2
|
||||||
Django==2.2.10
|
Django==2.2.13
|
||||||
django-auth-ldap==1.7.0
|
django-auth-ldap==1.7.0
|
||||||
django-bootstrap3==9.1.0
|
django-bootstrap3==9.1.0
|
||||||
django-celery-beat==1.4.0
|
django-celery-beat==1.4.0
|
||||||
|
|
Loading…
Reference in New Issue