add article date field

This commit is contained in:
Tobias Brunner 2025-07-04 15:51:44 +02:00
parent 470887c34e
commit 6351da70ee
No known key found for this signature in database
6 changed files with 42 additions and 19 deletions

View file

@ -0,0 +1,22 @@
# Generated by Django 5.2 on 2025-07-04 13:48
import django.utils.timezone
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("services", "0038_add_plan_ordering_and_best"),
]
operations = [
migrations.AddField(
model_name="article",
name="article_date",
field=models.DateField(
default=django.utils.timezone.now,
help_text="Date of the article publishing",
),
),
]