Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7020697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:21:07+00:00 2026-05-27T23:21:07+00:00

I searched for a similar question but found none so far. I have a

  • 0

I searched for a similar question but found none so far.

I have a subclass of User (django.contrib.auth.models.User). I want my site to support both Individual users and Business users, so in this case it’s:

class BusinessUser(User):
    website = models.CharField(max_length=20)
    objects = UserManager()

I have a register form that saves a user as a User and another one that saves my user as a BusinessUser. The problematic case is the BusinessUser:

I have checked through the Django console that both an User and a BusinessUser object exists after registration of a BusinessUser, and all fields are fine (username, email, password).

However, on my login page, I cannot login with my BusinessUser’s. I can login fine with the normal User’s registered, but not BusinessUser’s.

Does anyone know what might be wrong?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:21:08+00:00Added an answer on May 27, 2026 at 11:21 pm

    You subclassed User. Don’t do that ever. Use profiles to add additional data, and if you really need two separate models (say for having two separate views for individual and business users in the admin) create proxy models and custom managers that filter only individual or business users from User.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have searched the forum for this , but found no similar question, okay
Sorry if this is a duplicate question...I've searched around and found similar advice but
I searched SO and found similar questions, but none compared all three. That surprised
I searched the hinted posts, when posting this question but I foud none similar,
I have checked the questions with similar titles, and searched, but found nothing. But
I've searched for similar questions but still have not found a solution as to
I have a problem with my carousel. I've searched for similar questions. But found
(I've searched for something similar, but haven't found anything that matches and/or works) I
This one has me stumped. I've searched and found similar questions but I can't
I've searched for similar questions to mine here, but haven't found a thread that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.