From a7b2e606603f6250f5328966543619937ffdd9c5 Mon Sep 17 00:00:00 2001 From: Tim Lorsbach Date: Mon, 9 Nov 2026 22:52:15 +0100 Subject: [PATCH] fixed width for news --- .../0007_alter_newsentry_publication_date.py | 19 +++++++++++++++++++ templates/index/index.html | 12 +++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 bayer/migrations/0007_alter_newsentry_publication_date.py diff --git a/bayer/migrations/0007_alter_newsentry_publication_date.py b/bayer/migrations/0007_alter_newsentry_publication_date.py new file mode 100644 index 00000000..b4c7fbd7 --- /dev/null +++ b/bayer/migrations/0007_alter_newsentry_publication_date.py @@ -0,0 +1,19 @@ +# Generated by Django 6.0.3 on 2026-11-09 21:43 + +import django.utils.timezone +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('bayer', '0006_remove_newsentry_url'), + ] + + operations = [ + migrations.AlterField( + model_name='newsentry', + name='publication_date', + field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='Date'), + ), + ] diff --git a/templates/index/index.html b/templates/index/index.html index 9fd62692..c300db49 100644 --- a/templates/index/index.html +++ b/templates/index/index.html @@ -266,7 +266,7 @@
{% for ne in news_entries %} -
+
@@ -283,10 +283,20 @@ {{ ne.content }}

+ + + Read Full + + + + + +
{% endfor %}
+