Re: DjangoAMF vs. pyAMF - any opinions?

2008-06-17 Thread Krzysztof Ciesielski
ur own classes (on both sides) and register them - in python: pyamf.register_class - in flex they need to implement IExtrenizable and need to be registered with metetag [RemoteClass(alias="flex.messaging.io.ObjectProxy")] It's really whole lots of work to do it right so I wouldn't bother doin

Re: DjangoAMF vs. pyAMF - any opinions?

2008-06-14 Thread Krzysztof Ciesielski
On 5/3/08, J Peyret <[EMAIL PROTECTED]> wrote: > > I am just starting out with Flex 3 and I'd like to know if anybody's > got any strong opinions on which AMF<=>Python bridge is best for using > AMF to talk to Django. > > I do know Python and am somewhat familiar with Django. > > Things that

Re: Newbie Question

2008-01-29 Thread Krzysztof Ciesielski
On Jan 29, 2008 10:03 PM, Tim Sawyer <[EMAIL PROTECTED]> wrote: > > My model includes: > > surname = models.CharField(maxlength=50) > forenames = models.CharField(maxlength=50) > > def __str__(self): > return self.name > > def name(self): > return self.forenames +

Authorization from ssl certificate data

2007-11-12 Thread Krzysztof Ciesielski
Hi, I've got a problem with django used with mod_ssl and mod_python. I wanted to use environmental variables from mod_ssl in order to automaticly log in users but it appears that those variables are not accessible trough request.META Has anyone met this problem before. and has any idea how to

Admin file uploads validation

2007-07-26 Thread Krzysztof Ciesielski
Hi, Some time ago I had to validate ODT files sent to server via admin site. Since I know how long it took me to solve that problem and I haven't found any hints in google I decided to share with my solution. Take have a look on my code: import zipfile try: from cStringIO import StringIO