Indention and stupid mistakes fix

This commit is contained in:
reverend 2020-12-24 17:26:07 +01:00
parent 4bacd1a28d
commit 4675e5814f
2 changed files with 38 additions and 38 deletions

View File

@ -1,22 +1,22 @@
# Generated by Django 3.1.1 on 2020-10-04 19:37 # Generated by Django 3.1.1 on 2020-10-04 19:37
# Edited by reverend # Edited by reverend
import datetime import datetime
from django.db import migrations, models from django.db import migrations, models
import django.utils.timezone import django.utils.timezone
from django.utils.timezone import utc from django.utils.timezone import utc
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('lostplaces', '0001_initial'), ('lostplaces', '0001_initial'),
] ]
operations = [ operations = [
migrations.DeleteModel( migrations.DeleteModel(
name='Voucher' name='Voucher'
), ),
migrations.DeleteModel( migrations.DeleteModel(
name='Expireable' name='Expireable'
) )
] ]

View File

@ -1,25 +1,25 @@
# Generated by Django 3.1.1 on 2020-10-04 19:52 # Generated by Django 3.1.1 on 2020-10-04 19:52
from django.db import migrations, models from django.db import migrations, models
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('lostplaces', '0002_reomve_vouchers'), ('lostplaces', '0002_remove_vouchers'),
] ]
operations = [ operations = [
migrations.CreateModel( migrations.CreateModel(
name='Voucher', name='Voucher',
fields=[ fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_when', models.DateTimeField(auto_now_add=True)), ('created_when', models.DateTimeField(auto_now_add=True)),
('expires_when', models.DateTimeField()), ('expires_when', models.DateTimeField()),
('code', models.CharField(max_length=30, unique=True)), ('code', models.CharField(max_length=30, unique=True)),
], ],
options={ options={
'abstract': False, 'abstract': False,
}, },
), ),
] ]