forked from DGNum/gestioCOF
Ajout champ création sur modèle Account
This commit is contained in:
parent
1125b553d0
commit
16fe7eb994
2 changed files with 20 additions and 0 deletions
|
@ -40,6 +40,7 @@ class Account(models.Model):
|
|||
max_digits = 6, decimal_places = 2,
|
||||
default = 0)
|
||||
is_frozen = models.BooleanField(default = False)
|
||||
created_at = models.DateTimeField(auto_now_add = True, null = True)
|
||||
# Optional
|
||||
PROMO_CHOICES = [(r,r) for r in range(1980, date.today().year+1)]
|
||||
promo = models.IntegerField(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue