stormpath / stormpath-django

Django plugin for Stormpath
Apache License 2.0
38 stars 19 forks source link

Provide first_name / last_name Compatibility #35

Closed rdegges closed 9 years ago

rdegges commented 9 years ago

Right now we aren't providing a way for third-party Django apps that depend on the normal user model to interact with our user model's first_name and last_name fields.

The core Django user model provides:

Our model is almost identical, but has given_name and surname.

To make our integration work better with other third-party Django apps, we need to provide getters / setters for first_name and last_name that transparently update given_name and surname behind the scenes.

I for some reason thought this was already in here, but I'm not seeing the codez. Hrm.

@avojnovicDk can you take a look at this and prioritize it? We've got a user who needs this functionality.

Thanks!

avojnovicDk commented 9 years ago

Hi, @rdegges ! Just to check - given_name and surname (and, of course, middle_name) should still work?

rdegges commented 9 years ago

Yep! On May 5, 2015 10:08 AM, "avojnovicDk" notifications@github.com wrote:

Hi, @rdegges https://github.com/rdegges ! Just to check - given_name and surname (and, of course, middle_name) should still work?

— Reply to this email directly or view it on GitHub https://github.com/stormpath/stormpath-django/issues/35#issuecomment-99143298 .

rdegges commented 9 years ago

Closing this as this has been released in 1.0.2.