Issue #4077
closedpulpcore can't be installed in a Django site that also ships a a custom User object
Description
Problem¶
The pulpcore app isn't "reusable" because of this. See https://docs.djangoproject.com/en/2.1/topics/auth/customizing/#reusable-apps-and-auth-user-model
Solution¶
I'm not sure of all the implications but we could:
(a) stop shipping a custom user model entirely.
(b) move the user bits to their own python package
(c) find an existing Django app that users can install/configure that is effectively solution (b)
Updated by bmbouter about 6 years ago
This is blocking the integration with galaxy.ansible.com
Updated by bmbouter about 6 years ago
I posted a possible fix in this PR here: https://github.com/pulp/pulp/pull/3711/files
Added by bmbouter about 6 years ago
Updated by bmbouter about 6 years ago
- Status changed from NEW to POST
PR available at: https://github.com/pulp/pulp/pull/3711
Updated by bmbouter about 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|aa519c8edf0b5d2415654b501730cd1e47ce1c59.
Updated by bmbouter about 6 years ago
- Status changed from MODIFIED to POST
Moving to post to attach another issue
Added by Alexander Saprykin about 6 years ago
Revision b2471634 | View on GitHub
Fix user serializer for custom user model
In case of custom user model used, PasswordSerializer fails because it relies on builtin into Django user model. This patch add dynamic user model resolving.
closes #4077
Added by Alexander Saprykin about 6 years ago
Revision b2471634 | View on GitHub
Fix user serializer for custom user model
In case of custom user model used, PasswordSerializer fails because it relies on builtin into Django user model. This patch add dynamic user model resolving.
closes #4077
Updated by Anonymous about 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|b24716342db62a37cbc83557bcde37cce82f212c.
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Removes custom User model
https://pulp.plan.io/issues/4077 closes #4077