feat: Redirect old add view to the main one
This commit is contained in:
parent
b3ec170e39
commit
b2ed96c35a
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ urlpatterns = [
|
||||||
|
|
||||||
path('archive/', RedirectView.as_view(url='/')),
|
path('archive/', RedirectView.as_view(url='/')),
|
||||||
path('archive/<path:path>', LinkDetails.as_view(), name='LinkAssets'),
|
path('archive/<path:path>', LinkDetails.as_view(), name='LinkAssets'),
|
||||||
|
|
||||||
|
path('admin/core/snapshot/add/', RedirectView.as_view(url='/add/')),
|
||||||
path('add/', AddView.as_view()),
|
path('add/', AddView.as_view()),
|
||||||
|
|
||||||
path('accounts/login/', RedirectView.as_view(url='/admin/login/')),
|
path('accounts/login/', RedirectView.as_view(url='/admin/login/')),
|
||||||
|
|
Loading…
Reference in a new issue