Monthly Archives: March 2010

Re: Getting strange email from "dreamhost"

March 31, 2010
By

On Wed, Mar 31, 2010 at 11:13 PM, Wiiboy wrote: > Hi guys, > I've gotten two emails from "Mail Delivery Subsystem > " with the subject "Your message was NOT ...

Read more »

JOIN instead of multiple SELECT

March 31, 2010
By

Hello to all,. has been a while i've been wondering how to optimize Django's queries to the database, for example by setting it to use JOIN to retrieve foreign keys instead of multiple selects. for example if I have a blog object that ...

Read more »

How to display other field(not the foreign key) in admin dropdown list

March 31, 2010
By

I have a people table and a bridge table which are related. bridge table has a foreignkey field for people table. When I click add from django admin it shows the peopleid in a drop down list. What I want to do is I want to show the ...

Read more »

Re: Is it possible to change the width of the boxes displayed by …

March 31, 2010
By

Walt,. Thanks for the clarification. That helped a lot. I did get this working. Yeah! Had to do a slight tweak to the surrounding elements on the page to get it to look right (minor change to widgets.css). ...

Read more »

Re: Passing hidden foreign key to form as initial value

March 31, 2010
By

Final approach: in the forms.py excluded the courses foreign key field in models.py made courses blank and nullable didn't pass any initial values to the form in the view, saved the form like this: item = Courses.objects.get(pk=whatever ...

Read more »

Re: Probably a very basic data modeling question

March 31, 2010
By

Hi everyone,. I am still having issues with my data models. I can't tell if the underlying problem is my model definitions or my inability to do the queries to manipulate my models to get the output that I want. ...

Read more »

"format" error with django-piston

March 31, 2010
By

Hi everyone,. I know there's a Google Group for django-piston, but there's not very much conversation on that group, so I'm re-posting here as well. I'm getting an error when running the "blogserver" example site included with Piston: ...

Read more »

ksaver (ksaver) 's status on Monday, 29-Mar-10 16:32:41 UTC …

March 29, 2010
By

Python Tips , Tricks, and Hacks » http://www.siafoo.net/article/52 !Python !Programming. Attachments. http://www.siafoo.net/article/52 · about a day ago from web at Annapurna 1, Gandakī Zone, Nepal in context. Secondary site navigation ...

Read more »

Django tips: Tech Model: Django Sum all values with a distinct …

March 29, 2010
By

Django tips : Tech Model. Sunday, March 28, 2010. Django Sum all values with a distinct ForeignKey ID & zip them with fields from related table. I would like to perform something similar to ...

Read more »

Django tips: Tech Model: Possible improved WSGI script file for …

March 29, 2010
By

Django tips : Tech Model. Sunday, March 28, 2010. Possible improved WSGI script file for Django when using Apache/mod_wsgi. FWIW, have posted: http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html ...

Read more »