mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
Add notification about upgrade to admin page
This commit is contained in:
parent
0bd83076db
commit
7599dbb79d
2 changed files with 95 additions and 1 deletions
|
@ -8,6 +8,7 @@ from django.views.generic.base import RedirectView
|
|||
|
||||
from core.views import HomepageView, SnapshotView, PublicIndexView, AddView, HealthCheckView
|
||||
|
||||
from config import VERSION
|
||||
|
||||
# print('DEBUG', settings.DEBUG)
|
||||
|
||||
|
@ -30,7 +31,7 @@ urlpatterns = [
|
|||
|
||||
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
path('admin/', admin.site.urls, {'extra_context': {'VERSION': VERSION}}),
|
||||
|
||||
path('health/', HealthCheckView.as_view(), name='healthcheck'),
|
||||
path('error/', lambda _: 1/0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue