Changes between Version 5 and Version 6 of ContribAuthImprovements


Ignore:
Timestamp:
03/22/2012 08:39:30 PM (3 years ago)
Author:
Clueless
Comment:

removed extra exclamation points

Legend:

Unmodified
Added
Removed
Modified
  • ContribAuthImprovements

    v5 v6  
    123123Optionally:
    124124
    125  * Split off as much of !auth.User into orthogonal mixins that can be reused.
    126  * 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.
    127  * 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.
    128  
    129 Exposing pieces of !auth.User as mixins is optional, and potentially advantageous for any solution that allows you to define your own user models, such as solution 2.
     125 * Split off as much of auth.User into orthogonal mixins that can be reused.
     126 * 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.
     127 * 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.
     128 
     129Exposing pieces of auth.User as mixins is optional, and potentially advantageous for any solution that allows you to define your own user models, such as solution 2.
    130130
    131131=== Problems ===
Back to Top