Changes between Version 6 and Version 7 of ContribAuthImprovements


Ignore:
Timestamp:
Mar 22, 2012, 8:44:02 PM (12 years ago)
Author:
Alex Ogier
Comment:

grammar

Legend:

Unmodified
Added
Removed
Modified
  • ContribAuthImprovements

    v6 v7  
    110110Introduce an `USER_MODEL` setting (not necessarily related to `AUTH` at all) that defaults to `"auth.User"`.
    111111
    112 Here is a branch of django trunk that implements the basic idea:
    113 
    114  * https://github.com/ogier/django/tree/auth-mixins Also refactors !auth.User into authentication, permissions and profile mixins
     112There is a branch of django trunk that implements the basic idea:
     113
     114 * https://github.com/ogier/django/tree/auth-mixins Also refactors orthogonal authentication, permissions and profile mixins out of auth.User.
    115115
    116116=== Advantages ===
     
    123123Optionally:
    124124
    125  * Split off as much of auth.User into orthogonal mixins that can be reused.
     125 * Split off as much as possible of auth.User into orthogonal mixins that can be reused.
    126126 * Modify auth.User to inherit these mixins. Care must be taken to ensure that the database expression of the new User model is identical to the old User model, to ensure backwards compatibility.
    127127 * Unrelated and third-party apps can indicate that they depend on various orthogonal mixins. For example, contrib.admin can specify that it works with auth.User out of the box, and with any model implementing !PermissionsMixin if you supply your own login forms.
Back to Top