Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COThanks for your reply. I have tried several ways, but I cannot seem to get fields from the User and UserProfile in one form. As far as I know this is impossible. Do you mean you use `class Meta: model=UserProfile` and manually add the User fields (these fields will not actually be connected to the User model). Could you please explain in a little more detail how you would do this?
      singulars
    2. COYeah, as far as I know there's no way to do this automatically. But a combination of manually putting in the fields and then using `initial` to fill-in the forms, and again, using a custom `save` function to handle saving the User record later. For your particular case, you might look at this: http://scottbarnham.com/blog/2008/08/21/extending-the-django-user-model-with-inheritance/
      singulars
    3. COJordan, thanks again for your reply. Sorry for the late response. I've had a look at the link and I've tested it. What wouldn't work for me is setting the password, because the link to the password create page is incorrect. You have to go to the actual user instance and do it there (so User has to be in the admin). Don't know if you have any experience with this. I think the solution is pretty neat, but I'm a little hesitant about not using the user_profile (and there's some critique in the comments). Your other suggestion is less intuitive though so I think I'll go with the link's solution.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload