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
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
2 matches
Mail list logo