bennylope / django-organizations

:couple: Multi-user accounts for Django projects
http://django-organizations.readthedocs.org/
BSD 2-Clause "Simplified" License
1.3k stars 212 forks source link

Remove requirement for first_name/last_name #157

Closed LegoStormtroopr closed 6 years ago

LegoStormtroopr commented 6 years ago

Hi,

I'm trying to implement this project and had a conflict between this and django-improved-user, which doesn't have first name or last name on users.

This recommendation guesses a display name based on the "get_full_name" method, which is recommended by Django (but is no longer required in Django 2.0) or falls back to the user name field.

Happy for feedback.

justinmayer commented 6 years ago

I ran into this problem as well when I first used django-organizations and django-improved-user together, so I'm glad to see this contribution. Bravo!

LegoStormtroopr commented 6 years ago

@bennylope Thanks for accepting. Any chance of a 1.1.1 release based on this?

bennylope commented 6 years ago

🎁 https://pypi.org/project/django-organizations/1.1.1/

Thanks for the PR!