Hi Russ,

Here is the transcript of the output:

./manage.py sqlall Guide

BEGIN;

CREATE TABLE "Guide_venuetype" (

"id" serial NOT NULL PRIMARY KEY,

"venueTypeName" varchar(200) NOT NULL,

"venueTypeSlug" varchar(50) NOT NULL

);

CREATE TABLE "Guide_venue" (

"id" serial NOT NULL PRIMARY KEY,

"venueName" varchar(200) NOT NULL,

"venueSlug" varchar(50) NOT NULL UNIQUE

);

CREATE TABLE "Guide_venue_venueType" (

"id" serial NOT NULL PRIMARY KEY,

"venue_id" integer NOT NULL REFERENCES "Guide_venue" ("id")  
DEFERRABLE INITIALLY DEFERRED,

"venuetype_id" integer NOT NULL REFERENCES "Guide_venuetype" ("id")  
DEFERRABLE INITIALLY DEFERRED,

UNIQUE ("venue_id", "venuetype_id")

);

CREATE INDEX "Guide_venuetype_venueTypeName" ON  
"Guide_venuetype" ("venueTypeName");

CREATE INDEX "Guide_venuetype_venueTypeSlug" ON  
"Guide_venuetype" ("venueTypeSlug");

CREATE INDEX "Guide_venue_venueName" ON "Guide_venue" ("venueName");

CREATE UNIQUE INDEX "Guide_venue_venueSlug" ON  
"Guide_venue" ("venueSlug");

COMMIT;

and here is the minimal data file that fails:

cat test.json

[{"pk": "1", "model": "Guide.venuetype", "fields": {"venueTypeSlug":  
"stadium", "venueTypeName": "Stadium"}}]

Regards,

Mark


On 04/05/2007, at 10:10 PM, Russell Keith-Magee wrote:

>
> On 5/4/07, Mark Jarecki <[EMAIL PROTECTED]> wrote:
>>
>> Running the latest django vesion, just ran svn.
>>
>> Cut down models:
> ..
>
> I loaded some same venuetype data using the admin interface, dropped
> the db, recreated it, synced and loaded the data; it worked fine for
> me (Postgres 8.1 on OSX, psycopg1 backend)
>
> To try and track this further, can you provide:
> - A copy of a minimal data file that failes
> - A transcript of the output of ./manage.py sqlall guide (a listing of
> the sql executed to create the models in the first place)
>
> Yours,
> Russ Magee %-)
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to