Migrace utišující Django (stejně se default nikdy nepoužívá).
This commit is contained in:
parent
4536c56a83
commit
6df9665af3
1 changed files with 23 additions and 0 deletions
23
tvorba/migrations/0006_alter_deadline_deadline.py
Normal file
23
tvorba/migrations/0006_alter_deadline_deadline.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 4.2.16 on 2024-11-05 18:56
|
||||
#
|
||||
# Tahle migrace je tu jen, aby Django nechtělo vyrábět migrace. Smiřte se s tím.
|
||||
# Stejně se default u Deadlinu nikdy nepoužívá.
|
||||
|
||||
import datetime
|
||||
from django.db import migrations, models
|
||||
from django.utils import timezone
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('tvorba', '0005_odstrel_treenode_post'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='deadline',
|
||||
name='deadline',
|
||||
field=models.DateTimeField(default=timezone.make_aware(datetime.datetime.combine(timezone.now(), datetime.time.max))),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue