bla
This commit is contained in:
parent
6adf8979cb
commit
d324897a13
|
|
@ -71,7 +71,7 @@ class Profile(models.Model):
|
|||
|
||||
# Wenn der User gelöscht wird, wird auch das Profil gelöscht
|
||||
user = models.OneToOneField(User, on_delete=models.CASCADE)
|
||||
parent = models.ForeignKey(User, on_delete=models.CASCADE, related_name='parent_user')
|
||||
parent = models.ForeignKey(User, on_delete=models.CASCADE, blank=True, related_name='parent_user')
|
||||
phoneland = models.CharField(max_length=60, blank=True)
|
||||
phonemobile = models.CharField(max_length=60, blank=True)
|
||||
func = models.CharField(choices=agency_task, default="", max_length=50)
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@
|
|||
},
|
||||
success: function( data )
|
||||
{
|
||||
console.log(data);
|
||||
clearSearchfield();
|
||||
//Add User-Button
|
||||
$("#ps_act").html(data['username_clean']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue