Last for today
This commit is contained in:
parent
4d343993f7
commit
21b4c8d38f
Binary file not shown.
|
|
@ -22,7 +22,7 @@ def create_profile(sender, instance, created, **kwargs):
|
|||
tempperm = Permission.objects.get(codename=ele[0])
|
||||
tempuser.user_permissions.add(tempperm)
|
||||
tempuser.profile.func = 'lead'
|
||||
tempuser.profile.parent = tempuser
|
||||
#tempuser.profile.parent = tempuser
|
||||
tempuser.save()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue