Wiki

Clone wiki

django-shell-scripts / Home

Usage

You can run any command in shell:

%run path/to/some_script.py

(assumed ipython installed)

Available Scripts

  • clean_pyc - Removes all *.pyc files recursively
  • log_sqls - Prints executed SQLs to console (Django >= 1.3)
  • reload_models - Cleans cache and reload changed models (depends on clean_pyc)

Updated