in-memory-database

In django, how do I call the subcommand 'syncdb' from the initialization script?

In django, how do I call the subcommand 'syncdb' from the initialization script? Question: I’m new to python and django, and when following the Django Book I learned about the command ‘python manage.py syncdb’ which generated database tables for me. In development environment I use sqlite in memory database, so it is automatically erased everytime …

Total answers: 5

in-memory database in Python

in-memory database in Python Question: I’m doing some queries in Python on a large database to get some stats out of the database. I want these stats to be in-memory so other programs can use them without going to a database. I was thinking of how to structure them, and after trying to set up …

Total answers: 6