Posts Tagged ‘ re-django-book ’

Django tips: Tech Model: auth issue on Windows

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. auth issue on Windows. Hi, I'm trying out python+django 1.1.1 on Windows 7 and I have trouble getting django-registration working. After logging in, request.user is AnonymousUser on ...

Read more »

Django tips: Tech Model: ellipsis is not safe, use ellipsis.__new__()

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. ellipsis is not safe, use ellipsis.__new__(). I've been tracking trunk on 1.2 and recently started getting this error when get_profile() is invoked: TypeError at /item/9/. object. ...

Read more »

Django tips: Tech Model: Page expired with IE

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. Page expired with IE. In this page: http://trovascuola.comune.forli.fc.it/. put "saffi" and "48" respectively (as an example). Click on "Nidi d'infanzia ..." and then came back with back ...

Read more »

Django tips: Tech Model: Storing API Passwords

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. Storing API Passwords. Hello,. When working with photo API's such as twitpic, what is the best way of storing the password? Since the password needs to be sent in its natural form, ...

Read more »

Django tips: Tech Model: ManyToManyField and null argument

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. ManyToManyField and null argument. Hello there! From time to time I meet something like that: ManyToManyField(blank=True, null=True). Is there any need to set null argument? ...

Read more »

Django tips: Tech Model: Re: Creating fancier views

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. Re: Creating fancier views. > customising templates. I am wondering if there is an easy way to > spice up certain things, such as tables, in a similar way to the admin > interface does. ...

Read more »

Django tips: Tech Model: Re: Django + Varnish. Keepalive?

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. Re: Django + Varnish. Keepalive? On Mon, Mar 1, 2010 at 4:12 AM, Alessandro Ronchi wrote: > 2010/2/25 Alessandro Ronchi : ...

Read more »

Django tips: Tech Model: Re: verbose field names in admin

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. Re: verbose field names in admin. When in doubt, always refer to the docs - http://docs.djangoproject.com/en/dev/ref/models/options/ There may be something small overlooked. ...

Read more »

Django tips: Tech Model: Re: Redundant alterations for every …

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. Re: Redundant alterations for every psycopg2 db connection. On Mar 1, 2010, at 11:49 AM, ozgurv wrote: > Didn't anyone experience this problem? This is universal. ...

Read more »

Django tips: Tech Model: Re: Restrict choices in ModelForm for …

March 1, 2010
By

Django tips : Tech Model. Monday, March 1, 2010. Re: Restrict choices in ModelForm for ForeginKey field. When I've needed something like this I've used a model field subclass to customize the formfield() method. I've subclassed models. ...

Read more »