Re: has more than 1 ForeignKey to

2008-11-10 Thread jd.strickler
Klaas, When you create a Foreign Key to another model, Django also sets up the "reverse relation". If you specify more than one foreign key to the same model, you must give different names for this reverse relationship.

Re: Query

2008-10-22 Thread jd.strickler
It took about 15 seconds with Google to find these: http://www.devshed.com/c/a/Python/Writing-CGI-Programs-in-Python/ http://www.cs.virginia.edu/~lab2q/lesson_7/ http://gnosis.cx/publish/programming/feature_5min_python.html Anytime you find yourself asking for materials, Google first! Then, if

Re: Django crashes Python without traceback on Mac OS X (Release 1.0)

2008-10-19 Thread jd.strickler
Just as a heads up: if you have a 64-bit Intel chip running OS X The cross-compiling/Universal Binary issue may come up to bite you (it did me). Apache runs in 64-bit mode while most of the system runs in 32-bit mode, meaning that every part of your Django stack has to be compiled for both