Re: Postgres and Fixtures

2008-04-05 Thread SlowLearner
> > Thanks, I'll give that a go next time I reload the database. I tried it and it complained that sequencereset was not a valid option. However, looking in the help there is a 'sqlsequencereset' option. Running: ./manage.py sqlsequencereset Brought up a list of the setval commands to run to

Re: Postgres and Fixtures

2008-03-27 Thread SlowLearner
On Mar 27, 3:23 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > > It will run automatically if you are using trunk Django, but not if > you are using the 0.96 release. If you are using 0.96, and can't > update to trunk, you will need to run ./manage.py sequencereset after > loading a fixtur

Re: Postgres and Fixtures

2008-03-26 Thread Russell Keith-Magee
On Mon, Mar 24, 2008 at 7:32 PM, SlowLearner <[EMAIL PROTECTED]> wrote: > > I tried this with JSON and XML back up files using Ubuntu 7.10, Django > 0.96 from the Ubuntu repository. ... > Searching on this group I found a reference to a manage.py > sequencereset (or something close) but also i

Postgres and Fixtures

2008-03-24 Thread SlowLearner
Hi all, It looks like this problem has been fixed in the past but I have been having it crop up recently. Here is what I did: 1. created an app 2. manually entered some data 3. took a fixture dump of the app 4. dropped and created a new database 5. restored the fixture dump 6. Whenever I tried t