###The best tool for your django development.
This tool is a Sublime Text wrapper around django manage.py
commands.
With it you can run django commands like Django: Run Server
, Django: Sync Database
, Django: Migrate
from Command Palette.
You can also run Django: Custom Command
to access other manage.py commands. Try Django: Help
and you will get full list of commands provided by each application.
Or you can choose to use Django: Other Command
to list and run all commands available to manage.py
Currently tested on Windows 7/8, Mac OS, Ubuntu.
Everything tested and running!
- Virtualenv support
- Django boilerplate
- Install your dependencies
- Install new pip packages
- Open and search in django documentation from the editor
- Create new projects from ST
- Start new apps
- Run custom servers
- PostgreSQL specific features snippets
- And More!
The easiest way to install this is with Package Control.
- If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
- Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
- Select "Package Control: Install Package" (it'll take a few seconds)
- Select
Django Manage Commands
when the list appears.
Package Control will automatically keep plugin up to date with the latest version.
Currently supports following commands:
Django: New Project
Django: New App
Django: Run Server
Django: Run Custom Server
Django: Boilerplate
Django: Sync Database
Django: Test
Django: Test All
Django: Shell
Django: DB Shell
Django: Custom Command
Django: Other Command
Django: Check
Django: Help
Django: Open Docs
Django: Search in Docs
Django: Use Default Interpreter
Django: Make Migration
Django: SQLMigration
Django: Migrate Database
Django: Initial Schema Migration
Django: Schema Migration
Django: List Migrations
Django: Click
Django: Set Virtual Environment
Django: Terminal Here
Django: Pip Freeze
Django: Pip Freeze To File
Django: Pip Install Packages
Django: Pip Install Requirements
-
python_bin
: path to python interpreter -
python_version
: default python interpreter version -
python_virtualenv_paths
: list of paths where virtualenvs are located (ex:~/.virtualenvs/
)* -
server_host
: host for the runserver command -
server_port
: port for the server to listen -
linux_terminal
: Only Linux setting for command line emulator -
project_override
: (Boolean) Per project setting "python_interpreter" overrides "python_bin" -
server_custom_command
: Per project setting to specify a custom server to run (ex: {"command": "gunicorn", "args":["--workers=3"]}) use any script you want
It's important to set your envs directories
Check that your 'linux_terminal' setting uses an underscore "_"