diff --git a/accounting/migrations/0002_auto_20160814_1634.py b/accounting/migrations/0002_auto_20160814_1634.py deleted file mode 100644 index 6a281517..00000000 --- a/accounting/migrations/0002_auto_20160814_1634.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('accounting', '0001_initial'), - ] - - operations = [ - migrations.AlterField( - model_name='operation', - name='mode', - field=models.CharField(verbose_name='payment method', max_length=255, choices=[('CHECK', 'Check'), ('CASH', 'Cash'), ('TRANSFERT', 'Transfert'), ('CARD', 'Credit card')]), - ), - ] diff --git a/accounting/migrations/0003_auto_20160824_1732.py b/accounting/migrations/0003_auto_20160824_1732.py deleted file mode 100644 index 45256c7e..00000000 --- a/accounting/migrations/0003_auto_20160824_1732.py +++ /dev/null @@ -1,104 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models -import django.core.validators - - -class Migration(migrations.Migration): - - dependencies = [ - ('accounting', '0002_auto_20160814_1634'), - ] - - operations = [ - migrations.CreateModel( - name='SimplifiedAccountingType', - fields=[ - ('id', models.AutoField(auto_created=True, verbose_name='ID', serialize=False, primary_key=True)), - ('label', models.CharField(max_length=128, verbose_name='label')), - ], - options={ - 'verbose_name': 'simplified type', - }, - ), - migrations.RemoveField( - model_name='operation', - name='label', - ), - migrations.AddField( - model_name='operation', - name='linked_operation', - field=models.OneToOneField(to='accounting.Operation', default=None, null=True, blank=True, verbose_name='linked operation', related_name='operation_linked_to'), - ), - migrations.AlterField( - model_name='accountingtype', - name='code', - field=models.CharField(max_length=16, verbose_name='code', validators=[django.core.validators.RegexValidator('^[0-9]*$', 'An accounting type code contains only numbers')]), - ), - migrations.AlterField( - model_name='accountingtype', - name='label', - field=models.CharField(max_length=128, verbose_name='label'), - ), - migrations.AlterField( - model_name='accountingtype', - name='movement_type', - field=models.CharField(max_length=12, verbose_name='movement type', choices=[('CREDIT', 'Credit'), ('DEBIT', 'Debit'), ('NEUTRAL', 'Neutral')]), - ), - migrations.AlterField( - model_name='bankaccount', - name='club', - field=models.ForeignKey(related_name='bank_accounts', verbose_name='club', to='club.Club'), - ), - migrations.AlterField( - model_name='clubaccount', - name='bank_account', - field=models.ForeignKey(related_name='club_accounts', verbose_name='bank account', to='accounting.BankAccount'), - ), - migrations.AlterField( - model_name='clubaccount', - name='club', - field=models.ForeignKey(related_name='club_account', verbose_name='club', to='club.Club'), - ), - migrations.AlterField( - model_name='generaljournal', - name='club_account', - field=models.ForeignKey(related_name='journals', verbose_name='club account', to='accounting.ClubAccount'), - ), - migrations.AlterField( - model_name='generaljournal', - name='name', - field=models.CharField(max_length=40, verbose_name='name'), - ), - migrations.AlterField( - model_name='operation', - name='accounting_type', - field=models.ForeignKey(related_name='operations', null=True, blank=True, verbose_name='accounting type', to='accounting.AccountingType'), - ), - migrations.AlterField( - model_name='operation', - name='cheque_number', - field=models.CharField(verbose_name='cheque number', null=True, max_length=32, blank=True, default=''), - ), - migrations.AlterField( - model_name='operation', - name='journal', - field=models.ForeignKey(related_name='operations', verbose_name='journal', to='accounting.GeneralJournal'), - ), - migrations.AlterField( - model_name='operation', - name='remark', - field=models.CharField(max_length=128, verbose_name='comment'), - ), - migrations.AddField( - model_name='simplifiedaccountingtype', - name='accounting_type', - field=models.ForeignKey(related_name='simplified_types', verbose_name='simplified accounting types', to='accounting.AccountingType'), - ), - migrations.AddField( - model_name='operation', - name='simpleaccounting_type', - field=models.ForeignKey(related_name='operations', null=True, blank=True, verbose_name='simple type', to='accounting.SimplifiedAccountingType'), - ), - ] diff --git a/accounting/migrations/0004_auto_20160824_2145.py b/accounting/migrations/0004_auto_20160824_2145.py deleted file mode 100644 index 0636463b..00000000 --- a/accounting/migrations/0004_auto_20160824_2145.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('accounting', '0003_auto_20160824_1732'), - ] - - operations = [ - migrations.AlterModelOptions( - name='accountingtype', - options={'ordering': ['movement_type', 'code'], 'verbose_name': 'accounting type'}, - ), - migrations.AlterModelOptions( - name='bankaccount', - options={'ordering': ['club', 'name'], 'verbose_name': 'Bank account'}, - ), - migrations.AlterModelOptions( - name='clubaccount', - options={'ordering': ['bank_account', 'name'], 'verbose_name': 'Club account'}, - ), - migrations.AlterModelOptions( - name='generaljournal', - options={'ordering': ['-start_date'], 'verbose_name': 'General journal'}, - ), - migrations.AlterModelOptions( - name='simplifiedaccountingtype', - options={'ordering': ['accounting_type__movement_type', 'accounting_type__code'], 'verbose_name': 'simplified type'}, - ), - ] diff --git a/club/migrations/0002_club_home.py b/club/migrations/0002_club_home.py deleted file mode 100644 index 02e90eaa..00000000 --- a/club/migrations/0002_club_home.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0002_user_home'), - ('club', '0001_initial'), - ] - - operations = [ - migrations.AddField( - model_name='club', - name='home', - field=models.OneToOneField(blank=True, null=True, related_name='home_of_club', verbose_name='home', to='core.SithFile'), - ), - ] diff --git a/club/migrations/0003_auto_20160813_1448.py b/club/migrations/0003_auto_20160813_1448.py deleted file mode 100644 index 801c7a25..00000000 --- a/club/migrations/0003_auto_20160813_1448.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('club', '0002_club_home'), - ] - - operations = [ - migrations.AlterField( - model_name='club', - name='name', - field=models.CharField(verbose_name='name', max_length=64), - ), - ] diff --git a/club/migrations/0004_auto_20160813_1551.py b/club/migrations/0004_auto_20160813_1551.py deleted file mode 100644 index 8004b164..00000000 --- a/club/migrations/0004_auto_20160813_1551.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('club', '0003_auto_20160813_1448'), - ] - - operations = [ - migrations.AlterField( - model_name='membership', - name='description', - field=models.CharField(verbose_name='description', blank=True, max_length=128), - ), - ] diff --git a/core/migrations/0002_user_home.py b/core/migrations/0002_user_home.py deleted file mode 100644 index 1aa0a866..00000000 --- a/core/migrations/0002_user_home.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0001_initial'), - ] - - operations = [ - migrations.AddField( - model_name='user', - name='home', - field=models.OneToOneField(null=True, verbose_name='home', to='core.SithFile', blank=True, related_name='home_of'), - ), - ] diff --git a/core/migrations/0003_auto_20160810_1949.py b/core/migrations/0003_auto_20160810_1949.py deleted file mode 100644 index 10c42712..00000000 --- a/core/migrations/0003_auto_20160810_1949.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0002_user_home'), - ] - - operations = [ - migrations.AddField( - model_name='user', - name='avatar_pict', - field=models.OneToOneField(related_name='avatar_of', verbose_name='avatar', to='core.SithFile', null=True, blank=True), - ), - migrations.AddField( - model_name='user', - name='profile_pict', - field=models.OneToOneField(related_name='profile_of', verbose_name='profile', to='core.SithFile', null=True, blank=True), - ), - migrations.AddField( - model_name='user', - name='scrub_pict', - field=models.OneToOneField(related_name='scrub_of', verbose_name='scrub', to='core.SithFile', null=True, blank=True), - ), - ] diff --git a/core/migrations/0004_auto_20160811_0206.py b/core/migrations/0004_auto_20160811_0206.py deleted file mode 100644 index a0646a2f..00000000 --- a/core/migrations/0004_auto_20160811_0206.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0003_auto_20160810_1949'), - ] - - operations = [ - migrations.AlterField( - model_name='user', - name='nick_name', - field=models.CharField(verbose_name='nick name', max_length=30, blank=True), - ), - ] diff --git a/core/migrations/0005_auto_20160811_0319.py b/core/migrations/0005_auto_20160811_0319.py deleted file mode 100644 index 13c5bab3..00000000 --- a/core/migrations/0005_auto_20160811_0319.py +++ /dev/null @@ -1,65 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models -import core.models - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0004_auto_20160811_0206'), - ] - - operations = [ - migrations.AddField( - model_name='user', - name='department', - field=models.CharField(max_length=15, choices=[('TC', 'TC'), ('IMSI', 'IMSI'), ('IMAP', 'IMAP'), ('INFO', 'INFO'), ('GI', 'GI'), ('E', 'E'), ('EE', 'EE'), ('GESC', 'GESC'), ('GMC', 'GMC'), ('MC', 'MC'), ('EDIM', 'EDIM'), ('HUMAN', 'Humanities'), ('NA', 'N/A')], default='NA', verbose_name='department'), - ), - migrations.AddField( - model_name='user', - name='dpt_option', - field=models.CharField(max_length=32, default='', verbose_name='dpt option'), - ), - migrations.AddField( - model_name='user', - name='forum_signature', - field=models.TextField(max_length=256, default='', verbose_name='forum signature'), - ), - migrations.AddField( - model_name='user', - name='promo', - field=models.IntegerField(blank=True, null=True, validators=[core.models.validate_promo], verbose_name='promo'), - ), - migrations.AddField( - model_name='user', - name='quote', - field=models.CharField(max_length=64, default='', verbose_name='quote'), - ), - migrations.AddField( - model_name='user', - name='role', - field=models.CharField(max_length=15, choices=[('STUDENT', 'Student'), ('ADMINISTRATIVE', 'Administrative agent'), ('TEACHER', 'Teacher'), ('AGENT', 'Agent'), ('DOCTOR', 'Doctor'), ('FORMER STUDENT', 'Former student'), ('SERVICE', 'Service')], default='STUDENT', verbose_name='role'), - ), - migrations.AddField( - model_name='user', - name='school', - field=models.CharField(max_length=32, default='', verbose_name='school'), - ), - migrations.AddField( - model_name='user', - name='semester', - field=models.CharField(max_length=5, default='', verbose_name='semester'), - ), - migrations.AddField( - model_name='user', - name='sex', - field=models.CharField(max_length=10, choices=[('MAN', 'Man'), ('WOMAN', 'Woman')], default='MAN', verbose_name='sex'), - ), - migrations.AddField( - model_name='user', - name='tshirt_size', - field=models.CharField(max_length=5, choices=[('-', '-'), ('XS', 'XS'), ('S', 'S'), ('M', 'M'), ('L', 'L'), ('XL', 'XL'), ('XXL', 'XXL'), ('XXXL', 'XXXL')], default='M', verbose_name='tshirt size'), - ), - ] diff --git a/core/migrations/0006_auto_20160811_0450.py b/core/migrations/0006_auto_20160811_0450.py deleted file mode 100644 index f2970302..00000000 --- a/core/migrations/0006_auto_20160811_0450.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0005_auto_20160811_0319'), - ] - - operations = [ - migrations.AlterField( - model_name='user', - name='dpt_option', - field=models.CharField(verbose_name='dpt option', null=True, max_length=32, blank=True), - ), - migrations.AlterField( - model_name='user', - name='forum_signature', - field=models.TextField(verbose_name='forum signature', null=True, max_length=256, blank=True), - ), - migrations.AlterField( - model_name='user', - name='quote', - field=models.CharField(verbose_name='quote', null=True, max_length=64, blank=True), - ), - migrations.AlterField( - model_name='user', - name='school', - field=models.CharField(verbose_name='school', null=True, max_length=32, blank=True), - ), - migrations.AlterField( - model_name='user', - name='semester', - field=models.CharField(verbose_name='semester', null=True, max_length=5, blank=True), - ), - ] diff --git a/core/migrations/0007_auto_20160813_0522.py b/core/migrations/0007_auto_20160813_0522.py deleted file mode 100644 index 43b44e10..00000000 --- a/core/migrations/0007_auto_20160813_0522.py +++ /dev/null @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models -import phonenumber_field.modelfields -from django.utils.timezone import utc -import datetime -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0006_auto_20160811_0450'), - ] - - operations = [ - migrations.AddField( - model_name='user', - name='address', - field=models.CharField(default='', verbose_name='address', max_length=128, blank=True), - ), - migrations.AddField( - model_name='user', - name='last_update', - field=models.DateField(default=datetime.datetime(2016, 8, 13, 3, 22, 21, 699918, tzinfo=utc), verbose_name='last update', auto_now=True), - preserve_default=False, - ), - migrations.AddField( - model_name='user', - name='parent_address', - field=models.CharField(default='', verbose_name='parent address', max_length=128, blank=True), - ), - migrations.AddField( - model_name='user', - name='parent_phone', - field=phonenumber_field.modelfields.PhoneNumberField(blank=True, verbose_name='parent phone', max_length=128, null=True), - ), - migrations.AddField( - model_name='user', - name='phone', - field=phonenumber_field.modelfields.PhoneNumberField(blank=True, verbose_name='phone', max_length=128, null=True), - ), - migrations.AddField( - model_name='user', - name='second_email', - field=models.EmailField(blank=True, verbose_name='second email address', max_length=254, null=True), - ), - migrations.AlterField( - model_name='user', - name='avatar_pict', - field=models.OneToOneField(verbose_name='avatar', on_delete=django.db.models.deletion.SET_NULL, related_name='avatar_of', blank=True, to='core.SithFile', null=True), - ), - migrations.AlterField( - model_name='user', - name='department', - field=models.CharField(default='NA', verbose_name='department', max_length=15, choices=[('TC', 'TC'), ('IMSI', 'IMSI'), ('IMAP', 'IMAP'), ('INFO', 'INFO'), ('GI', 'GI'), ('E', 'E'), ('EE', 'EE'), ('GESC', 'GESC'), ('GMC', 'GMC'), ('MC', 'MC'), ('EDIM', 'EDIM'), ('HUMA', 'Humanities'), ('NA', 'N/A')], blank=True), - ), - migrations.AlterField( - model_name='user', - name='dpt_option', - field=models.CharField(default='', verbose_name='dpt option', max_length=32, blank=True), - ), - migrations.AlterField( - model_name='user', - name='first_name', - field=models.CharField(verbose_name='first name', max_length=64), - ), - migrations.AlterField( - model_name='user', - name='forum_signature', - field=models.TextField(default='', verbose_name='forum signature', max_length=256, blank=True), - ), - migrations.AlterField( - model_name='user', - name='last_name', - field=models.CharField(verbose_name='last name', max_length=64), - ), - migrations.AlterField( - model_name='user', - name='nick_name', - field=models.CharField(blank=True, verbose_name='nick name', max_length=64, null=True), - ), - migrations.AlterField( - model_name='user', - name='profile_pict', - field=models.OneToOneField(verbose_name='profile', on_delete=django.db.models.deletion.SET_NULL, related_name='profile_of', blank=True, to='core.SithFile', null=True), - ), - migrations.AlterField( - model_name='user', - name='quote', - field=models.CharField(default='', verbose_name='quote', max_length=256, blank=True), - ), - migrations.AlterField( - model_name='user', - name='role', - field=models.CharField(default='', verbose_name='role', max_length=15, choices=[('STUDENT', 'Student'), ('ADMINISTRATIVE', 'Administrative agent'), ('TEACHER', 'Teacher'), ('AGENT', 'Agent'), ('DOCTOR', 'Doctor'), ('FORMER STUDENT', 'Former student'), ('SERVICE', 'Service')], blank=True), - ), - migrations.AlterField( - model_name='user', - name='school', - field=models.CharField(default='', verbose_name='school', max_length=80, blank=True), - ), - migrations.AlterField( - model_name='user', - name='scrub_pict', - field=models.OneToOneField(verbose_name='scrub', on_delete=django.db.models.deletion.SET_NULL, related_name='scrub_of', blank=True, to='core.SithFile', null=True), - ), - migrations.AlterField( - model_name='user', - name='semester', - field=models.CharField(default='', verbose_name='semester', max_length=5, blank=True), - ), - migrations.AlterField( - model_name='user', - name='tshirt_size', - field=models.CharField(default='-', verbose_name='tshirt size', max_length=5, choices=[('-', '-'), ('XS', 'XS'), ('S', 'S'), ('M', 'M'), ('L', 'L'), ('XL', 'XL'), ('XXL', 'XXL'), ('XXXL', 'XXXL')]), - ), - ] diff --git a/core/migrations/0008_user_is_subscriber_viewable.py b/core/migrations/0008_user_is_subscriber_viewable.py deleted file mode 100644 index 895de548..00000000 --- a/core/migrations/0008_user_is_subscriber_viewable.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0007_auto_20160813_0522'), - ] - - operations = [ - migrations.AddField( - model_name='user', - name='is_subscriber_viewable', - field=models.BooleanField(default=True, verbose_name='is subscriber viewable'), - ), - ] diff --git a/counter/migrations/0002_auto_20160810_1348.py b/counter/migrations/0002_auto_20160810_1348.py deleted file mode 100644 index 6c3f17e2..00000000 --- a/counter/migrations/0002_auto_20160810_1348.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0001_initial'), - ('core', '0001_initial'), - ('subscription', '0001_initial'), - ] - - operations = [ - migrations.AddField( - model_name='counter', - name='sellers', - field=models.ManyToManyField(verbose_name='sellers', to='subscription.Subscriber', related_name='counters', blank=True), - ), - migrations.AddField( - model_name='counter', - name='view_groups', - field=models.ManyToManyField(to='core.Group', related_name='viewable_counters', blank=True), - ), - ] diff --git a/counter/migrations/0003_auto_20160814_1634.py b/counter/migrations/0003_auto_20160814_1634.py deleted file mode 100644 index 7f0f86f0..00000000 --- a/counter/migrations/0003_auto_20160814_1634.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0002_auto_20160810_1348'), - ] - - operations = [ - migrations.AlterField( - model_name='refilling', - name='payment_method', - field=models.CharField(verbose_name='payment method', default='cash', max_length=255, choices=[('CHECK', 'Check'), ('CASH', 'Cash')]), - ), - ] diff --git a/counter/migrations/0004_auto_20160817_1655.py b/counter/migrations/0004_auto_20160817_1655.py deleted file mode 100644 index 8229a195..00000000 --- a/counter/migrations/0004_auto_20160817_1655.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0003_auto_20160814_1634'), - ] - - operations = [ - migrations.AlterField( - model_name='counter', - name='type', - field=models.CharField(choices=[('BAR', 'Bar'), ('OFFICE', 'Office'), ('EBOUTIC', 'Eboutic')], verbose_name='counter type', max_length=255), - ), - migrations.AlterField( - model_name='refilling', - name='bank', - field=models.CharField(default='OTHER', choices=[('OTHER', 'Autre'), ('SOCIETE-GENERALE', 'Société générale'), ('BANQUE-POPULAIRE', 'Banque populaire'), ('BNP', 'BNP'), ('CAISSE-EPARGNE', "Caisse d'épargne"), ('CIC', 'CIC'), ('CREDIT-AGRICOLE', 'Crédit Agricole'), ('CREDIT-MUTUEL', 'Credit Mutuel'), ('CREDIT-LYONNAIS', 'Credit Lyonnais'), ('LA-POSTE', 'La Poste')], verbose_name='bank', max_length=255), - ), - migrations.AlterField( - model_name='refilling', - name='payment_method', - field=models.CharField(default='CASH', choices=[('CHECK', 'Check'), ('CASH', 'Cash')], verbose_name='payment method', max_length=255), - ), - ] diff --git a/counter/migrations/0005_auto_20160817_2251.py b/counter/migrations/0005_auto_20160817_2251.py deleted file mode 100644 index c3f04290..00000000 --- a/counter/migrations/0005_auto_20160817_2251.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0004_auto_20160817_1655'), - ] - - operations = [ - migrations.AlterField( - model_name='product', - name='code', - field=models.CharField(verbose_name='code', max_length=10, blank=True), - ), - migrations.AlterField( - model_name='product', - name='name', - field=models.CharField(verbose_name='name', max_length=64), - ), - ] diff --git a/counter/migrations/0006_auto_20160817_2253.py b/counter/migrations/0006_auto_20160817_2253.py deleted file mode 100644 index a9aa10f3..00000000 --- a/counter/migrations/0006_auto_20160817_2253.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0005_auto_20160817_2251'), - ] - - operations = [ - migrations.AlterField( - model_name='product', - name='code', - field=models.CharField(blank=True, max_length=16, verbose_name='code'), - ), - ] diff --git a/counter/migrations/0007_selling_club.py b/counter/migrations/0007_selling_club.py deleted file mode 100644 index 231a92e7..00000000 --- a/counter/migrations/0007_selling_club.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('club', '0004_auto_20160813_1551'), - ('counter', '0006_auto_20160817_2253'), - ] - - operations = [ - migrations.AddField( - model_name='selling', - name='club', - field=models.ForeignKey(default=1, related_name='sellings', to='club.Club'), - preserve_default=False, - ), - ] diff --git a/counter/migrations/0008_auto_20160818_0231.py b/counter/migrations/0008_auto_20160818_0231.py deleted file mode 100644 index efe59a61..00000000 --- a/counter/migrations/0008_auto_20160818_0231.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0007_selling_club'), - ] - - operations = [ - migrations.AlterField( - model_name='selling', - name='label', - field=models.CharField(max_length=64, verbose_name='label'), - ), - ] diff --git a/counter/migrations/0009_auto_20160818_1709.py b/counter/migrations/0009_auto_20160818_1709.py deleted file mode 100644 index f6c9ccbf..00000000 --- a/counter/migrations/0009_auto_20160818_1709.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0008_auto_20160818_0231'), - ] - - operations = [ - migrations.AlterField( - model_name='refilling', - name='payment_method', - field=models.CharField(verbose_name='payment method', default='CASH', choices=[('CHECK', 'Check'), ('CASH', 'Cash'), ('EBOUTIC', 'Eboutic')], max_length=255), - ), - ] diff --git a/counter/migrations/0010_auto_20160818_1716.py b/counter/migrations/0010_auto_20160818_1716.py deleted file mode 100644 index cb92c366..00000000 --- a/counter/migrations/0010_auto_20160818_1716.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0009_auto_20160818_1709'), - ] - - operations = [ - migrations.AlterField( - model_name='refilling', - name='payment_method', - field=models.CharField(default='CASH', max_length=255, verbose_name='payment method', choices=[('CHECK', 'Check'), ('CASH', 'Cash'), ('CARD', 'Credit card')]), - ), - ] diff --git a/counter/migrations/0011_auto_20160818_1722.py b/counter/migrations/0011_auto_20160818_1722.py deleted file mode 100644 index 391f475d..00000000 --- a/counter/migrations/0011_auto_20160818_1722.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion -from django.conf import settings - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0010_auto_20160818_1716'), - ] - - operations = [ - migrations.AlterField( - model_name='selling', - name='club', - field=models.ForeignKey(related_name='sellings', null=True, on_delete=django.db.models.deletion.SET_NULL, to='club.Club'), - ), - migrations.AlterField( - model_name='selling', - name='counter', - field=models.ForeignKey(related_name='sellings', null=True, on_delete=django.db.models.deletion.SET_NULL, to='counter.Counter'), - ), - migrations.AlterField( - model_name='selling', - name='customer', - field=models.ForeignKey(related_name='buyings', null=True, on_delete=django.db.models.deletion.SET_NULL, to='counter.Customer'), - ), - migrations.AlterField( - model_name='selling', - name='product', - field=models.ForeignKey(related_name='sellings', null=True, on_delete=django.db.models.deletion.SET_NULL, blank=True, to='counter.Product'), - ), - migrations.AlterField( - model_name='selling', - name='seller', - field=models.ForeignKey(related_name='sellings_as_operator', null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL), - ), - ] diff --git a/counter/migrations/0012_selling_payment_method.py b/counter/migrations/0012_selling_payment_method.py deleted file mode 100644 index 6f56d94e..00000000 --- a/counter/migrations/0012_selling_payment_method.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0011_auto_20160818_1722'), - ] - - operations = [ - migrations.AddField( - model_name='selling', - name='payment_method', - field=models.CharField(default='SITH_ACCOUNT', max_length=255, verbose_name='payment method', choices=[('SITH_ACCOUNT', 'Compte AE'), ('CARD', 'Credit card')]), - ), - ] diff --git a/counter/migrations/0013_auto_20160818_1736.py b/counter/migrations/0013_auto_20160818_1736.py deleted file mode 100644 index d509ec9d..00000000 --- a/counter/migrations/0013_auto_20160818_1736.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0012_selling_payment_method'), - ] - - operations = [ - migrations.AlterField( - model_name='selling', - name='payment_method', - field=models.CharField(max_length=255, default='SITH_ACCOUNT', verbose_name='payment method', choices=[('SITH_ACCOUNT', 'Sith account'), ('CARD', 'Credit card')]), - ), - ] diff --git a/counter/migrations/0014_auto_20160819_1650.py b/counter/migrations/0014_auto_20160819_1650.py deleted file mode 100644 index bb8e86af..00000000 --- a/counter/migrations/0014_auto_20160819_1650.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0013_auto_20160818_1736'), - ] - - operations = [ - migrations.AlterField( - model_name='refilling', - name='date', - field=models.DateTimeField(verbose_name='date'), - ), - migrations.AlterField( - model_name='selling', - name='date', - field=models.DateTimeField(verbose_name='date'), - ), - ] diff --git a/counter/migrations/0015_auto_20160820_0158.py b/counter/migrations/0015_auto_20160820_0158.py deleted file mode 100644 index 5113297c..00000000 --- a/counter/migrations/0015_auto_20160820_0158.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0014_auto_20160819_1650'), - ] - - operations = [ - migrations.AddField( - model_name='product', - name='limit_age', - field=models.IntegerField(default=0, verbose_name='limit age'), - ), - migrations.AddField( - model_name='product', - name='tray', - field=models.BooleanField(default=False, verbose_name='tray price'), - ), - ] diff --git a/counter/migrations/0016_auto_20160820_1923.py b/counter/migrations/0016_auto_20160820_1923.py deleted file mode 100644 index 3e02cc49..00000000 --- a/counter/migrations/0016_auto_20160820_1923.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0007_auto_20160813_0522'), - ('counter', '0015_auto_20160820_0158'), - ] - - operations = [ - migrations.AddField( - model_name='product', - name='buying_group', - field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.SET_NULL, verbose_name='buying group', related_name='products', to='core.Group', null=True), - ), - migrations.AlterField( - model_name='product', - name='club', - field=models.ForeignKey(verbose_name='club', to='club.Club', related_name='products'), - ), - migrations.AlterField( - model_name='product', - name='icon', - field=models.ImageField(blank=True, null=True, upload_to='products', verbose_name='icon'), - ), - migrations.AlterField( - model_name='product', - name='product_type', - field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.SET_NULL, verbose_name='parent product', related_name='children_products', to='counter.Product', null=True), - ), - ] diff --git a/counter/migrations/0017_auto_20160820_2047.py b/counter/migrations/0017_auto_20160820_2047.py deleted file mode 100644 index a30a827d..00000000 --- a/counter/migrations/0017_auto_20160820_2047.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0016_auto_20160820_1923'), - ] - - operations = [ - migrations.AddField( - model_name='product', - name='parent_product', - field=models.ForeignKey(to='counter.Product', null=True, related_name='children_products', on_delete=django.db.models.deletion.SET_NULL, verbose_name='parent product', blank=True), - ), - migrations.AlterField( - model_name='product', - name='product_type', - field=models.ForeignKey(to='counter.ProductType', null=True, related_name='products', on_delete=django.db.models.deletion.SET_NULL, verbose_name='product type', blank=True), - ), - ] diff --git a/counter/migrations/0018_auto_20160820_2051.py b/counter/migrations/0018_auto_20160820_2051.py deleted file mode 100644 index 96be2949..00000000 --- a/counter/migrations/0018_auto_20160820_2051.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('core', '0007_auto_20160813_0522'), - ('counter', '0017_auto_20160820_2047'), - ] - - operations = [ - migrations.RemoveField( - model_name='product', - name='buying_group', - ), - migrations.AddField( - model_name='product', - name='buying_group', - field=models.ManyToManyField(related_name='products', to='core.Group', verbose_name='buying group'), - ), - ] diff --git a/counter/migrations/0019_auto_20160820_2053.py b/counter/migrations/0019_auto_20160820_2053.py deleted file mode 100644 index 2d72575c..00000000 --- a/counter/migrations/0019_auto_20160820_2053.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0018_auto_20160820_2051'), - ] - - operations = [ - migrations.RenameField( - model_name='product', - old_name='buying_group', - new_name='buying_groups', - ), - ] diff --git a/counter/migrations/0020_auto_20160821_0307.py b/counter/migrations/0020_auto_20160821_0307.py deleted file mode 100644 index 768fcd30..00000000 --- a/counter/migrations/0020_auto_20160821_0307.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('counter', '0019_auto_20160820_2053'), - ] - - operations = [ - migrations.AlterField( - model_name='product', - name='buying_groups', - field=models.ManyToManyField(to='core.Group', related_name='products', verbose_name='buying groups'), - ), - ] diff --git a/eboutic/migrations/0002_auto_20160818_1635.py b/eboutic/migrations/0002_auto_20160818_1635.py deleted file mode 100644 index f1a52223..00000000 --- a/eboutic/migrations/0002_auto_20160818_1635.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('eboutic', '0001_initial'), - ] - - operations = [ - migrations.RemoveField( - model_name='basketitem', - name='type', - ), - migrations.RemoveField( - model_name='invoiceitem', - name='type', - ), - migrations.AddField( - model_name='basketitem', - name='type_id', - field=models.IntegerField(default=1, verbose_name='product type id'), - preserve_default=False, - ), - migrations.AddField( - model_name='invoiceitem', - name='type_id', - field=models.IntegerField(default=1, verbose_name='product type id'), - preserve_default=False, - ), - ] diff --git a/eboutic/migrations/0003_auto_20160818_1738.py b/eboutic/migrations/0003_auto_20160818_1738.py deleted file mode 100644 index 0b72703a..00000000 --- a/eboutic/migrations/0003_auto_20160818_1738.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('eboutic', '0002_auto_20160818_1635'), - ] - - operations = [ - migrations.AlterField( - model_name='invoice', - name='payment_method', - field=models.CharField(verbose_name='payment method', max_length=20, choices=[('CARD', 'Credit card'), ('SITH_ACCOUNT', 'Sith account')]), - ), - ] diff --git a/eboutic/migrations/0004_remove_invoice_payment_method.py b/eboutic/migrations/0004_remove_invoice_payment_method.py deleted file mode 100644 index 27241c1e..00000000 --- a/eboutic/migrations/0004_remove_invoice_payment_method.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('eboutic', '0003_auto_20160818_1738'), - ] - - operations = [ - migrations.RemoveField( - model_name='invoice', - name='payment_method', - ), - ] diff --git a/launderette/migrations/0002_auto_20160810_1348.py b/launderette/migrations/0002_auto_20160810_1348.py deleted file mode 100644 index b08af120..00000000 --- a/launderette/migrations/0002_auto_20160810_1348.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('launderette', '0001_initial'), - ('counter', '0001_initial'), - ('subscription', '0001_initial'), - ] - - operations = [ - migrations.AddField( - model_name='token', - name='user', - field=models.ForeignKey(verbose_name='user', null=True, to='subscription.Subscriber', related_name='tokens', blank=True), - ), - migrations.AddField( - model_name='slot', - name='machine', - field=models.ForeignKey(verbose_name='machine', related_name='slots', to='launderette.Machine'), - ), - migrations.AddField( - model_name='slot', - name='token', - field=models.ForeignKey(verbose_name='token', null=True, to='launderette.Token', related_name='slots', blank=True), - ), - migrations.AddField( - model_name='slot', - name='user', - field=models.ForeignKey(verbose_name='user', related_name='slots', to='subscription.Subscriber'), - ), - migrations.AddField( - model_name='machine', - name='launderette', - field=models.ForeignKey(verbose_name='launderette', related_name='machines', to='launderette.Launderette'), - ), - migrations.AddField( - model_name='launderette', - name='counter', - field=models.OneToOneField(verbose_name='counter', related_name='launderette', to='counter.Counter'), - ), - migrations.AlterUniqueTogether( - name='token', - unique_together=set([('name', 'launderette', 'type')]), - ), - ] diff --git a/subscription/migrations/0002_auto_20160814_1634.py b/subscription/migrations/0002_auto_20160814_1634.py deleted file mode 100644 index 0c82cd2b..00000000 --- a/subscription/migrations/0002_auto_20160814_1634.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('subscription', '0001_initial'), - ] - - operations = [ - migrations.AlterField( - model_name='subscription', - name='payment_method', - field=models.CharField(verbose_name='payment method', max_length=255, choices=[('CHECK', 'Check'), ('CARD', 'Credit card'), ('CASH', 'Cash'), ('EBOUTIC', 'Eboutic'), ('OTHER', 'Other')]), - ), - migrations.AlterField( - model_name='subscription', - name='subscription_type', - field=models.CharField(verbose_name='subscription type', max_length=255, choices=[('amicale/doceo', 'Amicale/DOCEO member'), ('assidu', 'Assidu member'), ('crous', 'CROUS member'), ('cursus-alternant', 'Branch cursus'), ('cursus-branche', 'Branch cursus'), ('cursus-tronc-commun', 'Common core cursus'), ('deux-semestres', 'Two semesters'), ('membre-honoraire', 'Honorary member'), ('reseau-ut', 'UT network member'), ('sbarro/esta', 'Sbarro/ESTA member'), ('un-semestre', 'One semester')]), - ), - ]