From 2f255efc8f662fa29e8112e6eb9642f33af25ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 19 Jun 2018 04:22:23 +0300 Subject: Added on_delete for every foreign key --- weblog/templates/weblog/sidebar_archive.html | 8 +------ weblog/templates/weblog_base.html | 1 - weblog/templates/weblog_base_old.html | 35 ++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 8 deletions(-) create mode 100755 weblog/templates/weblog_base_old.html (limited to 'weblog/templates') diff --git a/weblog/templates/weblog/sidebar_archive.html b/weblog/templates/weblog/sidebar_archive.html index ca74018..5953bfe 100755 --- a/weblog/templates/weblog/sidebar_archive.html +++ b/weblog/templates/weblog/sidebar_archive.html @@ -1,6 +1,5 @@ {% load i18n %}

{% trans 'Archive' context 'Blog archive' %}

-{% if archive %} {% endfor %} -{% else %} -
-

{% trans 'Nothing has been posted yet.' %}

-
-{% endif %} - + \ No newline at end of file diff --git a/weblog/templates/weblog_base.html b/weblog/templates/weblog_base.html index ce941e5..9a739cb 100755 --- a/weblog/templates/weblog_base.html +++ b/weblog/templates/weblog_base.html @@ -12,7 +12,6 @@ -