Browse Source

db_constraint = False to solve deployment problem?

master
Benni Baermann 3 years ago
parent
commit
d915f327dc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      input/models.py

+ 1
- 1
input/models.py View File

@ -76,7 +76,7 @@ class Project(Volunteer):
insurance_technic = models.BooleanField(default=False, verbose_name='Technikversicherung Ausland') insurance_technic = models.BooleanField(default=False, verbose_name='Technikversicherung Ausland')
support = models.CharField(max_length=300, blank=True, null=True, verbose_name='Betreuungsperson und Vertretung') support = models.CharField(max_length=300, blank=True, null=True, verbose_name='Betreuungsperson und Vertretung')
cost = models.IntegerField(blank=True, null=True) cost = models.IntegerField(blank=True, null=True)
account = models.ForeignKey('Account', on_delete=models.CASCADE, null=True, to_field='code')
account = models.ForeignKey('Account', on_delete=models.CASCADE, null=True, to_field='code', db_constraint = False)
granted_from = models.CharField(max_length=100,null=True,verbose_name='Bewilligt von') granted_from = models.CharField(max_length=100,null=True,verbose_name='Bewilligt von')
notes = models.CharField(max_length=1000,null=True,blank=True,verbose_name='Anmerkungen') notes = models.CharField(max_length=1000,null=True,blank=True,verbose_name='Anmerkungen')

Loading…
Cancel
Save