Re: Circularly dependent fixtures fail with Postgres 9.2

2013-06-16 Thread Russell Keith-Magee
Circular dependencies *shouldn't* be a problem on PostgreSQL because all constraints are set DEFERABLE INITIALLY DEFERRED; that means no constrain checks should be performed are performed until the transaction boundary, so all circular references shouldn't be a problem. Ticket #3615 exists

Circularly dependent fixtures fail with Postgres 9.2

2013-06-16 Thread Yo-Yo Ma
There doesn't appear to be a way to load fixtures from JSON (using Postgres - works fine in sqlite3) for the following models: class Collection(models.Model): main_thing = models.OneToOneField( 'things.Thing', null=True, on_delete=models.SET_NULL ) class

Re: Localization and Forms with Currencyfields / Value

2013-06-16 Thread Christian Schmitt
The Thing is, some Application that dealing with money have thousand separator, and fields without. So it won't work. I've wrote my own Field since, I need to deal with both, but I think this is a feature that should be included in the core of django. Or even something like