Re: models.ManyToManyField: Multi-relationship in one table

2007-03-19 Thread Russell Keith-Magee
On 3/20/07, hoamon <[EMAIL PROTECTED]> wrote: > > i have no idea about keywords of this question, so i can't search the > answer of this question or the django document. Please refrain from double-posting messages to Django-users and Django-developers. If you have a question about Django, please

models.ManyToManyField: Multi-relationship in one table

2007-03-19 Thread hoamon
i have no idea about keywords of this question, so i can't search the answer of this question or the django document. my question is i have three models: Trainee, Company, Course. and their relation table is below: Course|Trainee|Company C1| T1 | Com1 C1| T2 | Com1 C1| T3

Re: Dynamic Fixtures

2007-03-19 Thread [EMAIL PROTECTED]
Some potential problems I see with this are: - If you're using the serialization framework you end up with a one- way process (i.e. deserialize only). Would you want to check a serialization module into the trunk that only had a deserializer? - Using raw python you might end up debugging your

Re: SQL generated from oracle-boulder-sprint doesn't work with Oracle9i

2007-03-19 Thread frank h.
Matt, James thanks for your responses will post a detailed ticket first thing tomorrow (I mistakenly believed that tickets were only for development in trunk...) thanks again, -frank On Mar 19, 5:33 pm, "Matt Boersma" <[EMAIL PROTECTED]> wrote: > Frank, I've been doing as much maintenance and bu

Re: python-MySQLdb-1.2.1p2 not in debian sarge

2007-03-19 Thread Karen Tracey
On 3/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hope this helps someone. Helps me, thanks! Knowing the build-from-souce option is not too difficult and the script gives good feedback leans me more towards trying that first rather than upgrading my OS. I've just got other things to

Re: SQL generated from oracle-boulder-sprint doesn't work with Oracle9i

2007-03-19 Thread Matt Boersma
Frank, I've been doing as much maintenance and bug fixing as I can on the boulder-oracle-sprint branch. I test against 9i as well as 10g XE. If you could do as James suggests and post a detailed bug report at http://code.djangoproject.com/, I'll take a look and get it fixed. thanks, Matt On M

Re: python-MySQLdb-1.2.1p2 not in debian sarge

2007-03-19 Thread [EMAIL PROTECTED]
I ran into this issue last night with Ubuntu Dapper. I reviewed the change tickets for Edgy, and confirmed that this patch will not be backported to Dapper, although it will be available in Edgy. However, it is fairly easy to install the most recent version of setuptools from cheeseshop, and the

Re: SQL generated from oracle-boulder-sprint doesn't work with Oracle9i

2007-03-19 Thread James Bennett
On 3/19/07, frank h. <[EMAIL PROTECTED]> wrote: > My questions are: > - who is maintaining this oracle branch and how can I get in touch > with them (I looked on the wiki but found no branch homepage, this > would maybe be a good idea to create?) > - can somebody look at the SQL I get from man

Re: python-MySQLdb-1.2.1p2 not in debian sarge

2007-03-19 Thread James Crasta
On 3/18/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Of slightly more concern to me, but related, is something Jeff Croft > pointed out today: the next release will cause problems on Dreamhost, > since they are using an older MySQLdb setup. Not a big deal right this > minute -- anybody usin

Re: python-MySQLdb-1.2.1p2 not in debian sarge

2007-03-19 Thread Karen Tracey
On 3/19/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > 1.2.1_p2 (or however this is now called) is later than 1.2.1c3, so you > need to upgrade this package. Can you > please report what you found about later Ubuntu releases? Thanks for the confirmation that c3 < p2. Looking around here: ht

Re: python-MySQLdb-1.2.1p2 not in debian sarge

2007-03-19 Thread Michael Radziej
On Mon, Mar 19, Karen Tracey wrote: > I'm trying to get a handle on the sequence of release names for this > package, just trying to understand if my box is going to have problems with > this change. I've got Ubuntu Dapper with python2.4-mysqldb package at > version 1.2.1c3-4ubuntu4 (the latest

Re: python-MySQLdb-1.2.1p2 not in debian sarge

2007-03-19 Thread Karen Tracey
On 3/19/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > > That's not an option since the API for connections has changed netween > 1.2.1c3 and 1.2.1p2 (it has got an additional charset parameter, which is > going to be used, #3754. I'm trying to get a handle on the sequence of release names for

Re: Escape Filter

2007-03-19 Thread mario__
On Mar 16, 2:02 pm, "Frankie Robertson" <[EMAIL PROTECTED]> wrote: > > {{ text|escape|linebreaksbr }} > > does what you want. Personally I prefer: > > {{ text|escape|linebreaks }} > mmh you're rigth. I didn't look that filter. Thanks! > > > --http://www.advogato.org/person/mgonzalez/ --~--~-

Re: problems with many to many relations.

2007-03-19 Thread Russell Keith-Magee
On 3/19/07, Àngel Àlvarez <[EMAIL PROTECTED]> wrote: > > File > "/usr/lib/python2.4/site-packages/Django-0.95.1-py2.4.egg/django/db/models/query.py", > line 835, in lookup_inner > raise TypeError, "Cannot resolve keyword '%s' into field" % name > TypeError: Cannot resolve keyword 'routepointl

problems with many to many relations.

2007-03-19 Thread Àngel Àlvarez
I have started to use django to develop an application , i use the Object-relational mapper from django because i develop a python-qt application i had a problem with many to many relation. My models: RoutePointLog: -- from django.db import models from clien

Re: python-MySQLdb-1.2.1p2 not in debian sarge

2007-03-19 Thread Michael Radziej
On Sun, Mar 18, Simon G. wrote: > > [Option 4] - Raise a warning for MySQLdb's that ARE 1.2.1 but not > 'final', (i.e. "Your version of MySQLdb is 1.2.1 gamma, Django would > prefer 1.2.1 final. Please upgrade (see docs page for why"...) and > document this. Keep the failure on anything less tha