Ignore:
Timestamp:
12/12/12 15:23:43 (7 years ago)
Author:
mnagni
Message:

Encodes base64 the GET's parameters

Location:
mauRepo/dj_security/tags/v_0_0_7
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • mauRepo/dj_security/tags/v_0_0_7/dj_security

    • Property svn:ignore
      •  

        old new  
        22 
        33dev_settings.py 
         4 
         5dev_manage.py 
  • mauRepo/dj_security/tags/v_0_0_7/dj_security/encoder.py

    r8680 r8704  
    3535from json.encoder import JSONEncoder 
    3636from decimal import Decimal 
    37 from django.contrib.auth.models import User 
    3837from django.conf import settings 
    3938 
     
    4746        mydict = {} 
    4847         
    49         if isinstance(obj, User): 
    50             mydict.update({'permissions': ','.join(obj.get_all_permissions())}) 
     48        #if isinstance(obj, User): 
     49        #    mydict.update({'permissions': ','.join(obj.get_all_permissions())}) 
    5150         
    5251        if isinstance(obj, datetime.datetime): 
Note: See TracChangeset for help on using the changeset viewer.