The Golden Spot

I hope this helps someone who is learning about Linux and web application programming with Python, Django, and Javascript.

Sunday, January 13, 2008

Mysql 5.0 and Django Subversion 6917.

I switched from sqlite3 to mysql 5.0 midway through development, First, I edited settings.py to reflect the database changes. Next, I had to run

$ python manage.py reset auth --noinput

first, in order setup a new admin user by executing

$ python manage.py flush

Finally, I made all the tables in settings.py by running

$ python manage.py syncdb

Labels: , , , ,

0 Comments:

Post a Comment

<< Home