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 = meta.Cha

Re: Feed rss and xml

2006-04-10 Thread Grimboy
As the other poster this is the typical behaviour. To minimise confusion on the users part you can take a approach similar to to bbc. If you look at the following rss feed it's been transformed with xslt: http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml here is the xsl http://new

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 > magic-removal

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 t

Re: BEST FOR NET PROFESINALS

2006-04-03 Thread Grimboy
Alright, I have a spam filter, and both of you being on the same email provider as me I assume you have too. The filter filtered for me and now your replying to the message made it appear. Just a wee bit annoying.Oh well, FrankieOn 03/04/06, Douglas Campos <[EMAIL PROTECTED]> wrote: totally agreed

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 Relationship