fix favicon url and show size in separate column

This commit is contained in:
Nick Sweeting 2020-07-27 19:29:57 -04:00
parent fd0d0563d1
commit 022231b362
2 changed files with 17 additions and 13 deletions

View file

@ -3,7 +3,7 @@ from django.contrib import admin
from django.urls import path, include
from django.views import static
from django.conf import settings
from django.contrib.staticfiles import views
from django.contrib.staticfiles.views import serve as serve_static
from django.views.generic.base import RedirectView
from core.views import MainIndex, AddLinks, LinkDetails
@ -21,7 +21,7 @@ urlpatterns = [
path('archive/<path:path>', LinkDetails.as_view(), name='LinkAssets'),
path('add/', AddLinks.as_view(), name='AddLinks'),
path('static/<path>', views.serve),
path('static/<path>', serve_static),
path('accounts/login/', RedirectView.as_view(url='/admin/login/')),
path('accounts/logout/', RedirectView.as_view(url='/admin/logout/')),