Can I use Django CreateViews to make a form that add data to multiple tables? I've created a model called UserMeta to store some additional informations of my users.
The Problem
I want to create a view with CreateViews, that display fields for creating a new user (Django User Model) and some extra fields based on my UserMeta model:
class UserMeta(models.Model):country_code = models.CharField(max_length=30, verbose_name="Nome",help_text="Insert the name of the country")
I need an output schema like this:
|-form
|-- input user.name
|-- input user.username
|-- input user....
|-- input usermeta.country_code