From be3ec36a865814331842597bc24a5a5dbc57e23c Mon Sep 17 00:00:00 2001 From: "Jonathan S. Katz" Date: Wed, 18 Apr 2018 12:05:40 -0400 Subject: [PATCH] Ensure columns on archive tables are of fixed width. This will make the display across multiple dates look cleaner. --- django/archives/mailarchives/templates/datelist.html | 6 +++--- django/archives/urls.py | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/django/archives/mailarchives/templates/datelist.html b/django/archives/mailarchives/templates/datelist.html index 1d47936..f0cc42d 100644 --- a/django/archives/mailarchives/templates/datelist.html +++ b/django/archives/mailarchives/templates/datelist.html @@ -21,9 +21,9 @@ - - - + + + diff --git a/django/archives/urls.py b/django/archives/urls.py index cc80874..f7e500e 100644 --- a/django/archives/urls.py +++ b/django/archives/urls.py @@ -73,3 +73,7 @@ if not settings.PUBLIC_ARCHIVES: url(r'^accounts/logout/?$', archives.auth.logout), url(r'^auth_receive/$', archives.auth.auth_receive), ] + +from django.conf.urls.static import static +urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) +urlpatterns += static('/media/', document_root=settings.MEDIA_ROOT) -- 2.39.5
ThreadAuthorTimeThreadAuthorTime