Remove date_added field in Gallery
This commit is contained in:
parent
80085edeeb
commit
2ef6dd2a44
3 changed files with 26 additions and 7 deletions
21
photologue/migrations/0002_auto_20220130_1020.py
Normal file
21
photologue/migrations/0002_auto_20220130_1020.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Generated by Django 3.2.11 on 2022-01-30 10:20
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('photologue', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='gallery',
|
||||
options={'get_latest_by': 'date_start', 'ordering': ['-date_start'], 'verbose_name': 'gallery', 'verbose_name_plural': 'galleries'},
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='gallery',
|
||||
name='date_added',
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue