Skip to content
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

Swappable user model #884

Open
jayvdb opened this issue Sep 11, 2020 · 2 comments
Open

Swappable user model #884

jayvdb opened this issue Sep 11, 2020 · 2 comments
Assignees

Comments

@jayvdb
Copy link

jayvdb commented Sep 11, 2020

Many models fail if the project has swapped in a new user model

timepiece.UserProfile.user: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out.
        HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'
@panatale1
Copy link
Collaborator

@jayvdb Thanks so much! I'll make sure this is updated when I release the new version for Python 3.8+ and Django 4.2+ in a couple weeks

panatale1 added a commit that referenced this issue Sep 4, 2024
Reverts LICENSE
Updates Django requirement to be 4.2 or higher instead of 3.2
Updates setup.cfg to ignore W503 errors
  * per W504, new best practice is to place a line break before a binary operator
Linting
Adding support for issue #884
@panatale1
Copy link
Collaborator

Support for custom user models has been added in branch version-upgrade. I will close this issue when the branch is merged and packaged

@panatale1 panatale1 self-assigned this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants