Fixes storage of creator_id to dbhandler.
This commit is contained in:
parent
465215ef51
commit
bfe5680eff
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ class CharacterCreationView(LoginRequiredMixin, FormView):
|
||||||
|
|
||||||
# Assign attributes from form
|
# Assign attributes from form
|
||||||
[setattr(character.db, field, self.attributes[field]) for field in self.attributes.keys()]
|
[setattr(character.db, field, self.attributes[field]) for field in self.attributes.keys()]
|
||||||
character.creator_id = account.id
|
character.db.creator_id = account.id
|
||||||
character.save()
|
character.save()
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue