Manage Django sites
Collect static files from each of your applications into a single location that can easily be served in production.
CLI Example:
salt '*' django.collectstatic <settings_module>
Run arbitrary django management command
CLI Example:
salt '*' django.command <settings_module> <command>
Create a super user for the database. This function defaults to use the --noinput flag which prevents the creation of a password for the superuser.
CLI Example:
salt '*' django.createsuperuser <settings_module> user user@example.com
Load fixture data
CLI Example:
salt '*' django.loaddata <settings_module> <comma delimited list of fixtures>
Run syncdb
Execute the Django-Admin syncdb command, if South is available on the minion the migrate option can be passed as True calling the migrations to run after the syncdb completes
CLI Example:
salt '*' django.syncdb <settings_module>
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.2
22.16.44. salt.modules.dnsmasq
Upcoming SaltStack events, webinars and local meet ups and user groups.