mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Field inutile pour un integerfield
This commit is contained in:
parent
a0605088b4
commit
9720b9715c
2 changed files with 21 additions and 1 deletions
20
cotisations/migrations/0023_auto_20170902_1303.py
Normal file
20
cotisations/migrations/0023_auto_20170902_1303.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.7 on 2017-09-02 11:03
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('cotisations', '0022_auto_20170824_0128'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='paiement',
|
||||
name='type_paiement',
|
||||
field=models.IntegerField(choices=[(0, 'Autre'), (1, 'Chèque')], default=0),
|
||||
),
|
||||
]
|
|
@ -164,7 +164,7 @@ class Paiement(models.Model):
|
|||
)
|
||||
|
||||
moyen = models.CharField(max_length=255)
|
||||
type_paiement = models.IntegerField(choices=PAYMENT_TYPES, default=0, max_length=255)
|
||||
type_paiement = models.IntegerField(choices=PAYMENT_TYPES, default=0)
|
||||
|
||||
def __str__(self):
|
||||
return self.moyen
|
||||
|
|
Loading…
Reference in a new issue