remove the person variable
This commit is contained in:
parent
9b0fc0ba06
commit
3073baf43f
|
@ -180,7 +180,7 @@ def registration(request):
|
|||
user.last_name = pf['last_name']
|
||||
user.first_name = pf['first_name']
|
||||
user.save()
|
||||
person = Person.objects.create(
|
||||
Person.objects.create(
|
||||
salutation=pf['salutation'],
|
||||
city=City.objects.get(zip_code=pf['zip_code'],
|
||||
name=pf['city']),
|
||||
|
|
Loading…
Reference in New Issue