Re: sinjan

2006-04-17 Thread Grimboy
On 17/04/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi! > I have problem with many-to-one lookup. Here is a description of my two > tables(from http://www.djangoproject.com/documentation/tutorial1/): > > > from django.core import meta > > class Poll(meta.Model): > question =

Re: Relationship with self with relationship data in app.py

2006-04-04 Thread Grimboy
On 04/04/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > Firstly: You can forward reference a model by using its name as a string ( > e.g., ForeignKey("foo") works, in the same way that ForeignKey("self") > works). However, IIRC, this only works with ForeignKeys in 0.91. In >

Re: advice location of site for production and devel

2006-04-04 Thread Grimboy
Are you following http://www.djangoproject.com/documentation/modpython/? On 04/04/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I'm building my first dynamic web site using Django. mod_python is > installed and runs well. I tried

Relationship with self with relationship data in app.py

2006-04-03 Thread Grimboy
I have this problem with the following code (highlight: http://pastebin.com/638352) Basically I want a Model that relates with itself, the relationship its self will also have data. (That's why I've made it a seperate Model). Here is a simplified version of what I want to do. class