Re: Problem with contrib.auth in database migration

2010-04-02 Thread Daniel Roseman
On Apr 2, 12:51 pm, dadapapa wrote: > I managed to solve the problem. The solution is to explicitly state > the applications (models) that you want to migrate, and leave out > those that get initialized automatically when doing syncdb > (contenttypes). Here's how it worked for me: > > production s

Re: Problem with contrib.auth in database migration

2010-04-02 Thread dadapapa
I managed to solve the problem. The solution is to explicitly state the applications (models) that you want to migrate, and leave out those that get initialized automatically when doing syncdb (contenttypes). Here's how it worked for me: production server: $ python manage.py dumpdata auth custom_a

Problem with contrib.auth in database migration

2010-03-30 Thread dadapapa
Dear list, I am using Django 1.0 + MySQL on the production server and Django 1.1 + sqlite3 on my (local) development server. My application uses contrib.auth.User etc. and I am running into the following issue when trying to migrate the production database to the development server. production se