IsModelInstanceOwnerOrIsAnonReadOnly in __all__

This commit is contained in:
Camille Harang 2012-02-02 16:12:07 +01:00
parent fcd026f506
commit c42a111299
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ __all__ = (
'BasePermission',
'FullAnonAccess',
'IsAuthenticated',
'IsModelInstanceOwnerOrIsAnonReadOnly',
'IsAdminUser',
'IsUserOrIsAnonReadOnly',
'PerUserThrottling',

View File

@ -211,6 +211,7 @@ class Serializer(object):
raise _SkipField
def serialize_model(self, instance):
print 'sdfff',self, instance
"""
Given a model instance or dict, serialize it to a dict..
"""