Re: single-sign-on

2007-05-29 Thread Mikhail Gusarov
Twas brillig at 12:53:42 29.05.2007 UTC+01 when James Aylett did gyre and gimble: >> DL> And if you don't know what OpenID is: >> DL> http://simonwillison.net/2006/Dec/19/openid/ >> >> Single identity and single sign-on are the quite orthogonal things. JA> Isn't one usually a subset

Re: single-sign-on

2007-05-29 Thread Mikhail Gusarov
Twas brillig at 13:31:28 29.05.2007 UTC+02 when David Larlet did gyre and gimble: DL> And if you don't know what OpenID is: DL> http://simonwillison.net/2006/Dec/19/openid/ Single identity and single sign-on are the quite orthogonal things. -- JID: [EMAIL PROTECTED]

Q: customize admin view of django.contrib.auth

2007-05-25 Thread Mikhail Gusarov
Hi, Is there way to customize admin interface for django.contrib.auth? We are using external authentication and authorization database, so several options in admin interface are to be hidden (user's password, permissions, 'add group' button etc), other are to be read-only (user's staff/active

Re: problems with spawning new subprocesses with development server

2007-05-08 Thread Mikhail Gusarov
Twas brillig at 17:17:58 08.05.2007 UTC+00 when [EMAIL PROTECTED] did gyre and gimble: i> And it seems really strange that it's not a trivial task just to spawn a i> child process and continue the parent. I have a feeling that it is still i> perfectly doable. os.fork + os.execve in child

Re: cyrillic text garbled if used as question in polls example

2006-12-11 Thread Mikhail Gusarov
You ([EMAIL PROTECTED]) wrote: m> then I tried to ran the following SQL: mysql>> insert into polls_poll (`question`, `pub_date`) values ('Ты m> используешь Джанго?', NOW()); m> now it's displayed ok in the mysql client, but the admin interface m> shows a different style garbled text

Re: serving xml files

2006-11-01 Thread Mikhail Gusarov
You ([EMAIL PROTECTED]) wrote: PL> I need to serve .xml files but the HTTP-Header Content-Type is HTML/Text. PL> How do i change this? Use from django.template import loader return HttpResponse(loader.render_to_string('geo/countries.xml', {'country_list': coutnry_list}),

Re: Webservices using Django

2006-10-17 Thread Mikhail Gusarov
You ([EMAIL PROTECTED]) wrote: DM> Is there a chance that Django will support the provisions of DM> Webservices in the future. It would be nice to use the same data DM> models to provide WebServices for an application. REST interfaces and RPC ones (like SOAP) are nearly orthogonal, and you

Pre-validation form data fixup

2006-10-15 Thread Mikhail Gusarov
Hello, I'd like to propose the following change to Model interface: optional step to fixup the data got from the form before validation. This may easily be done in custom views, but there is no proper way to do it in admin interface. This fixup should operate on whole form data, exactly as