-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Import Mix-in Classes independently of package #36
Comments
I concur with this issue. I just ran into it myself and was about to email you to see if perhaps I was doing something wrong. Is there any currently working way of extending django-improved-user as the documentation implies? |
Not currently, but I am planning to fix the issue tomorrow! |
.... ok, that's not quite true. You can use all the mix-ins if you add the app to |
Nope. I've followed your documentation as closely as I can and I only get errors from Django, even on a fresh project. Would you like me to write up a separate bug report describing what I see, even prior to your new version? I'm hoping this is just a documentation+newbie problem. :) |
Oh, there's definitely a problem, so even following documentation, I expect that it'd be difficult to get around this bug. The branch I just pushed appears to fix the problem. Unfortunately, it's not quite ready to be integrated into the main branch, because these changes completely break the documentation. The Let's hold off on opening a new bug report for the moment. If you are still seeing errors once I merge the |
Sounds like a plan.
|
@securedirective: take a look at the new documentation found in here. Let me know what you think! For the moment, to use the new code, you'll need to install the code directly from github (the If you are still seeing an error that reads Thanks for all your help! |
Specifications
Expected Behavior
In a Django project: I expect to be able to import the mix-in model classes without needing to add improved_user to
INSTALLED_APPS
.Actual Behavior
Django evaluates the
User
model and attempts to add it to the database.Context
I am using the provided mix-in classes and manager to create a new User model in a separate app.
The import above causes the traceback listed above.
If I add
improved_user
toINSTALLED_APPS
I believe Django will pollute my database with a table forUser
, which I am seeking to replace.Steps to Reproduce the Problem
django-improved-user==0.5.3
RunTimeError
The text was updated successfully, but these errors were encountered: