Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Remove dependency on 'username' field #34

Open
atleta opened this issue May 18, 2015 · 1 comment
Open

Remove dependency on 'username' field #34

atleta opened this issue May 18, 2015 · 1 comment
Labels

Comments

@atleta
Copy link

atleta commented May 18, 2015

Hi,

I've just looked into the code and found that there is a wired in dependency on the username field of the user model. However, it may not be there. You should use get_user_model().USERNAME_FIELD to refer to it, but for example for creating a user, you don't even have to name it. Just pass in a **kwargs .

@lambdalisue
Copy link
Owner

Hum... Yes you are right. However, it would be tough work to remove the dependency so I'd like to try it when more users had problem with that dependency (https://github.com/lambdalisue/django-inspectional-registration/search?p=1&q=username&utf8=%E2%9C%93)

If you really need to remove that from django-inspectional-registration, please consider to send me a pull request ;-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants