Code

Changes between Version 40 and Version 41 of RowLevelPermissions


Ignore:
Timestamp:
04/19/13 04:16:39 (12 months ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RowLevelPermissions

    v40 v41  
    88 * `has_delete_permission(self, request, obj=None`): Should return `True` if deleting `obj` is permitted, `False` otherwise. If `obj` is `None`, should return `True` or `False` to indicate whether deleting objects of this type is permitted in general (e.g., if `False` will be interpreted as meaning that the current user is not permitted to delete any object of this type). 
    99 
    10 For public-facing (i.e., non-admin) views, you are of course free to implement whatever form of permission-checking logic your application requires.gfhfhfghfgh 
     10For public-facing (i.e., non-admin) views, you are of course free to implement whatever form of permission-checking logic your application requires.