mirror of https://github.com/django/django.git
Added release notes for new swappable User feature.
This commit is contained in:
parent
5d7bb22e8d
commit
334cdfc1bb
|
@ -34,6 +34,23 @@ release featuring 2.7 support.
|
||||||
What's new in Django 1.5
|
What's new in Django 1.5
|
||||||
========================
|
========================
|
||||||
|
|
||||||
|
Configurable User model
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
In Django 1.5, you can now use your own model as the store for user-related
|
||||||
|
data. If your project needs a username with more than 30 characters, or if
|
||||||
|
you want to store usernames in a format other than first name/last name, or
|
||||||
|
you want to put custom profile information onto your User object, you can
|
||||||
|
now do so.
|
||||||
|
|
||||||
|
If you have a third-party reusable application that references the User model,
|
||||||
|
you may need to make some changes to the way you reference User instances. You
|
||||||
|
should also document any specific features of the User model that your
|
||||||
|
application relies upon.
|
||||||
|
|
||||||
|
See the :ref:`documentation on custom User models <auth-custom-user>` for
|
||||||
|
more details.
|
||||||
|
|
||||||
Support for saving a subset of model's fields
|
Support for saving a subset of model's fields
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue