python - Customized django manage.py use case -


i using django use object relational mapper(orm) feature and, currently, have nothing web-framework. @ present have been able customize django.setting suit database needs , defined test data models bumped manage.py, required build database tables etc.

how can call manage.py(or achieve purpose) within module model defined , not command line?

well, hedde right sqlalchemy being better suit, if still want programmatically access manage.py commands, checkout answers question.

django project has predefined structure, syncdb in scope of project affect apps part of installed_apps in settings.py file.

the fun stuff can have on-the-fly schema alteration django-mutant. of course, should use when you're absolutely sure when , you're doing :))).


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -