Re: database migration

2010-12-28 Thread Emrah Unal
within the main project directory in linux python manage.py dumpdata > data.json command will dump your data to a json file change settings.py to use mysql, after that python manage.py syncdb this will create tables followed by python manage.py loaddata data.json will load everything back

How to hook the admin interface?

2008-04-09 Thread Emrah Unal
Thats my first time in Django. So far everything is great, thanks to everybody , who worked in the project. I need to show the user a printable pdf after clicking save in an admin form. Creating pdf and other stuff is easy. I was unable to find any way to hook that part yet. With some reading I'm