loaddata against postgresql doesn't update primary key's sequence 'last_value' ?

2007-04-03 Thread Jon Ballard
Hello everybody, I'm new. Django is the bomb.. my app is coming together quickly. Now to my issue.. I dumped my database to json and tried to ingest it back in. Seemed to work fine at first -- everything was there -- but it turns out no new records can be added because the sequence field 'last

Re: loaddata against postgresql doesn't update primary key's sequence 'last_value' ?

2007-04-04 Thread Jon Ballard
> I think you can fix it by running something like: > > $ python manage.py sqlsequencereset | psql mydbname > > When you load data with the primary keys already set it doesn't update > the postgres sequence generator. There's a ticket about how this > affects fixture loading: > > http://code.djan

Re: Django and Eclipse Autocomplete NOT WORKING

2007-04-04 Thread Jon Ballard
Sorry, following up an old post, but maybe it will help somebody. Looks like maybe PyDev can't follow symbolic links in PYTHONPATH. For example I'm using SVN version and couldn't get django module code completion working until I added this to my PyDev PYTHONPATH: /usr/lib/django_src/ I have a d

Re: Django and Eclipse Autocomplete NOT WORKING

2007-04-04 Thread Jon Ballard
On Apr 4, 9:13 pm, "Jon Ballard" <[EMAIL PROTECTED]> wrote: > Looks like maybe PyDev can't follow symbolic links in PYTHONPATH. For > example I'm using SVN version and couldn't get django module code > completion working until I added this to my PyDev PYT