~linuxgoose/bocpress

ref: 5204e11e63274f2b2f18a72cc43925cfc58d32ed bocpress/main/migrations/0017_post_published_at.py -rw-r--r-- 593 bytes
5204e11eJordan Robinson fix user update form to account for allow_docs_user env variable 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Generated by Django 3.0.7 on 2020-06-07 20:48

import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("main", "0016_auto_20200607_0024"),
    ]

    operations = [
        migrations.AddField(
            model_name="post",
            name="published_at",
            field=models.DateTimeField(
                blank=True,
                default=django.utils.timezone.now,
                help_text="Leave blank to keep as draft/unpublished",
                null=True,
            ),
        ),
    ]