You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi everyone!
Yesterday I released v1.0a1 of django-improved-user, which provides a custom Django user model with international identity handling and uses email as the username. 1.0a1 is feature complete and tested against Django 2.0a1 (as well as Django 1.8, 1.10, and 1.11).
I'm emailing the list to solicit feedback and review. The project is a collaboration between Russell Keith-Magee and myself based on our experience building custom User models (read more about that at http://django-improved-user.readthedocs.io/en/latest/rationale.html), and we'd like this to be helpful to the community.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Out of curiosity, do you have any intention of coordinating with allauth or guardian? I feel like all three of these are good individually, but if they were combined into a single entity they would be far greater than the sum of their parts.
Thanks,
Joe
Andrew Pinkham
unread,
Oct 13, 2017, 9:28:32 AM10/13/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi Joe,
I'm not 100% clear on what you mean by coordinating. Apologies if I miss the mark.
You should be able to use improved-user with both allauth and guardian (but I admit I have not tried!).
Allauth provides some notes on using a custom model, and covers how to use a model that doesn't have a username:
In Guardian's case, I would recommend subclassing improved-user.mixins.AbstractUser and guardian.mixins.GuardianUserMixin to create a new custom User model in your own project, rather than allowing guarding to monkey-patch the model. More about that at the links below:
If you're wondering about whether improved-user will integrate the codebase with either of these, then the answer is no. With that said, I can see how a cookiecutter template that integrates all three of these tools together could be a time-saver to others, but do not have plans to create such a template and cannot currently commit to another project.