[validators] - access to object.id field

2006-11-30 Thread Marcin Jurczuk
Hello, I'm writing my own validator based on shipped with django and wondering how get validated object.id field ? Following function does not return it ..it should raised error with message contained keys from validated object. It does but there is no 'id' field. class

Re: offtopic: delete *.pyc from subversion

2006-11-29 Thread Marcin Jurczuk
find . -name '*pyc' |xargs svn delete to delete them: find . -name '*pyc"|xargs rm -f --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: 'User' object has no attribute 'get_permission_list'

2006-11-17 Thread Marcin Jurczuk
Problem solved ...remove django from site-packages and install again + remove *pyc in the app code tree :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

'User' object has no attribute 'get_permission_list'

2006-11-17 Thread Marcin Jurczuk
Trying to use perms module in templates but get following error: AttributeError at / 'User' object has no attribute 'get_permission_list' [cut] Exception Value:'User' object has no attribute 'get_permission_list' [cut] -- In template dump red line is : 14

Access to models in validators

2006-09-14 Thread Marcin Jurczuk
Hello, I'm trying to make my own validator which require access to models: class Network(Model): city = CharField('Miejscowosc',maxlength=128,default='Bialystok') description = CharField('Opis',maxlength=128) network_ip = IPAddressField(unique=True) network_prefix =