relay/app/feeds/migrations/0009_alter_post_created_at.py
Andros Fenollosa dc4813c5fc Fix RSS feed chronological order
Parse post_id timestamp for created_at instead of using database insertion time
2025-12-25 11:10:06 +01:00

19 lines
501 B
Python

# Generated by Django 5.2.6 on 2025-12-25 09:01
import django.utils.timezone
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('feeds', '0008_post_include'),
]
operations = [
migrations.AlterField(
model_name='post',
name='created_at',
field=models.DateTimeField(default=django.utils.timezone.now, help_text='Creation timestamp, parsed from post_id when available'),
),
]