Problem with syncdb's handling of ManyToManyFields

2007-03-21 Thread Benjamin Slavin

Howdy, folks,

I'm in the process of migrating a Django project from MySQL to
PostgreSQL and think I may have stumbled across a nasty bug.  It
relates to ManytoMany fields and the way in which syncdb creates the
database tables to handle this.

For full details, please see the ticket at:
http://code.djangoproject.com/ticket/3779

Can anyone else confirm this so I can be sure it's not some wonky
configuration on my end?

 - Ben

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: Problem with syncdb's handling of ManyToManyFields

2007-03-22 Thread Malcolm Tredinnick

Hi Ben,

On Wed, 2007-03-21 at 14:53 -0400, Benjamin Slavin wrote:
> Howdy, folks,
> 
> I'm in the process of migrating a Django project from MySQL to
> PostgreSQL and think I may have stumbled across a nasty bug.  It
> relates to ManytoMany fields and the way in which syncdb creates the
> database tables to handle this.
> 
> For full details, please see the ticket at:
> http://code.djangoproject.com/ticket/3779
> 
> Can anyone else confirm this so I can be sure it's not some wonky
> configuration on my end?

Eyeballing management.py and the way it constructs the SQL, I agree with
your analysis in that ticket. It looks like a bug. We'll fix it.

Regards,
Malcolm



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: Problem with syncdb's handling of ManyToManyFields

2007-03-22 Thread Russell Keith-Magee

On 3/22/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote:
>
> For full details, please see the ticket at:
> http://code.djangoproject.com/ticket/3779
>
> Can anyone else confirm this so I can be sure it's not some wonky
> configuration on my end?

Hi Ben,

Confirmed, and fixed in [4780]. Thanks for the report - the test case
was extremely helpful.

Yours,
Russ Magee %-)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---