From 4675e5814f2908f90e20f79cebb2aeddcdd2470c Mon Sep 17 00:00:00 2001 From: reverend Date: Thu, 24 Dec 2020 17:26:07 +0100 Subject: [PATCH] Indention and stupid mistakes fix --- .../migrations/0002_remove_vouchers.py | 36 ++++++++--------- .../lostplaces/migrations/0003_voucher.py | 40 +++++++++---------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/django_lostplaces/lostplaces/migrations/0002_remove_vouchers.py b/django_lostplaces/lostplaces/migrations/0002_remove_vouchers.py index d3727d9..d87ac47 100644 --- a/django_lostplaces/lostplaces/migrations/0002_remove_vouchers.py +++ b/django_lostplaces/lostplaces/migrations/0002_remove_vouchers.py @@ -1,22 +1,22 @@ - # Generated by Django 3.1.1 on 2020-10-04 19:37 - # Edited by reverend +# Generated by Django 3.1.1 on 2020-10-04 19:37 +# Edited by reverend - import datetime - from django.db import migrations, models - import django.utils.timezone - from django.utils.timezone import utc +import datetime +from django.db import migrations, models +import django.utils.timezone +from django.utils.timezone import utc - class Migration(migrations.Migration): +class Migration(migrations.Migration): - dependencies = [ - ('lostplaces', '0001_initial'), - ] + dependencies = [ + ('lostplaces', '0001_initial'), + ] - operations = [ - migrations.DeleteModel( - name='Voucher' - ), - migrations.DeleteModel( - name='Expireable' - ) - ] \ No newline at end of file + operations = [ + migrations.DeleteModel( + name='Voucher' + ), + migrations.DeleteModel( + name='Expireable' + ) + ] \ No newline at end of file diff --git a/django_lostplaces/lostplaces/migrations/0003_voucher.py b/django_lostplaces/lostplaces/migrations/0003_voucher.py index 40299a3..889f42a 100644 --- a/django_lostplaces/lostplaces/migrations/0003_voucher.py +++ b/django_lostplaces/lostplaces/migrations/0003_voucher.py @@ -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 = [ - ('lostplaces', '0002_reomve_vouchers'), - ] + dependencies = [ + ('lostplaces', '0002_remove_vouchers'), + ] - operations = [ - migrations.CreateModel( - name='Voucher', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('created_when', models.DateTimeField(auto_now_add=True)), - ('expires_when', models.DateTimeField()), - ('code', models.CharField(max_length=30, unique=True)), - ], - options={ - 'abstract': False, - }, - ), - ] \ No newline at end of file + operations = [ + migrations.CreateModel( + name='Voucher', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('created_when', models.DateTimeField(auto_now_add=True)), + ('expires_when', models.DateTimeField()), + ('code', models.CharField(max_length=30, unique=True)), + ], + options={ + 'abstract': False, + }, + ), + ] \ No newline at end of file