Migrateterror
This commit is contained in:
parent
184e1b6a54
commit
c9ebe2853a
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -86,7 +86,8 @@ class Profile(models.Model):
|
||||||
agency = models.ForeignKey(Agency, on_delete=models.PROTECT)
|
agency = models.ForeignKey(Agency, on_delete=models.PROTECT)
|
||||||
image = models.ImageField(default='userprofilepics/default.jpg', upload_to='userprofilepics', blank=True)
|
image = models.ImageField(default='userprofilepics/default.jpg', upload_to='userprofilepics', blank=True)
|
||||||
compfunc = models.CharField(max_length=60, blank=True)
|
compfunc = models.CharField(max_length=60, blank=True)
|
||||||
visible = models.BooleanField(default=True)
|
#visible = models.BooleanField(default=True)
|
||||||
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f'{self.user.last_name}'
|
return f'{self.user.last_name}'
|
||||||
|
|
|
||||||
|
|
@ -34,10 +34,11 @@ class UsersAddProfileForm(forms.ModelForm):
|
||||||
"func" : "Agenturfunktion",
|
"func" : "Agenturfunktion",
|
||||||
"compfunc" : "Tätigkeit",
|
"compfunc" : "Tätigkeit",
|
||||||
"image" : "Profilbild",
|
"image" : "Profilbild",
|
||||||
"visible" : "Im Organigramm sichtbar"
|
#"visible" : "Im Organigramm sichtbar"
|
||||||
}
|
}
|
||||||
fields = ['phoneland','phonemobile', 'visible', 'func', 'compfunc', 'image']
|
#fields = ['phoneland','phonemobile', 'visible', 'func', 'compfunc', 'image']
|
||||||
|
fields = ['phoneland','phonemobile', 'func', 'compfunc', 'image']
|
||||||
|
|
||||||
# Formular zum hinzufügen neuer Agentur-Mitglieder
|
# Formular zum hinzufügen neuer Agentur-Mitglieder
|
||||||
class AgencyUpdateForm(forms.ModelForm):
|
class AgencyUpdateForm(forms.ModelForm):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue