Re: multiple-db-support branch

2007-02-28 Thread [EMAIL PROTECTED]
I've currently uncovered two bugs so far with this branch... but am unsure where to go to enter them in for tracking. I've got a ton of stuff working, and these popped up when I was trying to do a few complicated things. 1. If you are doing a someclass.objects.filter and use a

Re: newforms DateTimeFiels issue?

2007-02-28 Thread Gary Wilson
On Feb 19, 8:49 pm, "juampa" <[EMAIL PROTECTED]> wrote: > I have noticed the following situation and I suspect it may be a > problem: Juan, could you please open a ticket about this problem. http://code.djangoproject.com/simpleticket Thanks, Gary

Re: Django ORM bug when your app has a model named "ContentType"?

2007-02-28 Thread Ramiro Morales
On 2/28/07, Rob Hudson <[EMAIL PROTECTED]> wrote: > > [...] > > But! I did find the root of what's causing this bug and it may occur > regardless of the name of the model... > > Our content system has these relationships: > > Content -> ContentType > Content -> Attribute -> ContentType >

Secure your PC and Business from Spyware and Hacking

2007-02-28 Thread Rania
[image: Ad-Aware] *Ad Aware Personal 1.06* Lavasoft - 2.72MB (Non-Commercial Freeware) *Title:*Ad Aware Personal 1.06 *Filename:*aawsepersonal.exe *File size:*2.72MB (2,855,080 bytes)

Re: multiple-db-support branch

2007-02-28 Thread [EMAIL PROTECTED]
I've added a nice document on how to get a project up and running with multiple-db-branch on the wiki page. I'd be interested in eventually maintaining the code...or helping to maintain the code...but one of the main reasons I hadn't looked too much into it is that I'm under a big deadline right

Re: Model.add() ?

2007-02-28 Thread Jeremy Dunck
On 2/27/07, Arvind Singh <[EMAIL PROTECTED]> wrote: > while not self.id: > # we are adding new row > id = ''.join(str(uuid.uuid4()).split('-')) > try: ... First, I wouldn't be concerned about collisions

Re: Q Objects and Joins

2007-02-28 Thread Mike Axiak
Hey, Using the idea I mentioned before, I submitted a patch. http://code.djangoproject.com/ticket/3592 However, as you can see in my fourth comment, this isn't the necessary usage. In fact, the "correct" implementation of an OR would use union, like this: SELECT * FROM package_x INNER

Re: Django ORM bug when your app has a model named "ContentType"?

2007-02-28 Thread Rob Hudson
On Feb 9, 3:12 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > So after some back and forth about whether this should or shouldn't > work, there didn't seem to be any resolution. Your gut feeling looks > right to me Rob: it should probably work as you expect (no collision), > although it

Re: multiple-db-support branch

2007-02-28 Thread Kumar McMillan
On 2/27/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > Documentation: no big feature can be added without complete > documentation. In particular, a section needs to be written describing > how the change affects existing code, and what the upgrade path (if > any) is. The docs have been

Re: ChoiceField and newforms

2007-02-28 Thread David Larlet
2007/2/28, Domenico Chierico <[EMAIL PROTECTED]>: > > HI, > > I'm new to django so excuse me if this is the wrong way to manage my > problem. > > I've found a problem into form_for_model function related to > forms.ChoiceField, that seem to be not considered, for IntegerField > and FilePathField

ChoiceField and newforms

2007-02-28 Thread Domenico Chierico
HI, I'm new to django so excuse me if this is the wrong way to manage my problem. I've found a problem into form_for_model function related to forms.ChoiceField, that seem to be not considered, for IntegerField and FilePathField (and perhaps for others). Searching on web i've found a

Re: newforms DateTimeFiels issue?

2007-02-28 Thread Niels
The right place to fix this should be DateTimeField.to_python i guess. On Feb 20, 3:49 am, "juampa" <[EMAIL PROTECTED]> wrote: > I have noticed the following situation and I suspect it may be a > problem: > > If you have a model class with a > > date_added =

Re: Constraints and MySQL

2007-02-28 Thread Marc Fargas Esteve
Hi, On 2/27/07, Geert Vanderkelen <[EMAIL PROTECTED]> wrote: > Because the other Databases have 'limitations' or 'features' or > 'defects' that MySQL might not have or whatever. Django is, as I have > been told, database independent. And Django is working fine with > MySQL, lets keep it that