1
0
Fork 0

feat: Redirect old add view to the main one

This commit is contained in:
Cristian 2020-09-17 09:08:20 -05:00
parent b3ec170e39
commit b2ed96c35a

View file

@ -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/')),