Re: django.pl has been officially launched

2008-10-28 Thread Stan Dyck
Am I the only one who, upon seeing the subject line of this email, asked "Why would someone want to rewrite django in perl?" ;-) StanD. Dominik Szopa wrote: > > On 26 Paź, 18:01, Marek Kubica <[EMAIL PROTECTED]> wrote: > >> On Sun, 26 Oct 2008 06:32:11 -0700, Dominik Szopa wrote: >> >>

Trying to avoid duplicate form posts/database inserts

2008-10-29 Thread Stan Dyck
ppropriate message to the response. This seems a little excessive though because I'd like to be able to take advantage of the database's ability to have unique values in specified fields. Does anyone have any other suggestions? Stan Dyck --~--~-~--~~~---~--~

Re: Trying to avoid duplicate form posts/database inserts

2008-10-30 Thread Stan Dyck
Thomas Guettler wrote: > Stan Dyck schrieb: > >> I'm converting a simple database-backed web form to Django. Each form >> submit inserts a row into a database. >> >> >> > > Hi, > > you can use yourmodel.objects.get_or_create(...) &

Re: localhost host only webservices/authentication in general

2008-11-05 Thread Stan Dyck
craic wrote: > with django, is it possible to restrict the calling host of particular > urls to be the localhost? > > namely, is there a way to restrict say a set of web services > implemented in django to be only accepted if they are the same domain > as the hosted page? > > so if i have a php pa