Emacs is used when the IDE is okay, but when the rad tool lacks some practical features, especially the intelliisense function. Since eclipse and Visual Studio can be set to the Emacs shortcut mode, it is decided to use this method to develop Django applications.
1) install eclipse and pydev
In Debian Linux, this is very simple. Due to the dependency, we only need to install pydev, and the remaining apt will be installed automatically.
Sudo apt-Get install eclipse-pydev
2) configure the python parser
Window> preferences> pydev> Interpreter: Select Python or Jython. If you select python, add/usr/bin/python to Python interpreters.
Add the package path to system pythonpath.
3) create a Django Project
Choose File> New> Project> pydev project.
Select the project path. Do not select "create default SRC folder ..."
Create a Django project anywhere
Django-admin.py startproject mysite
Transfers all created files to the project path. Right-click Refresh on the project name to view the new file.
4) configure the project path
Right-click Properties on the project name, select pydev-pythonpath, and add the project path to the project source folders.
5) running configuration
Choose run> run... from the menu to create a new running configuration in Python run. Select the project name and set main module to manage. py. Set arguments to runserver -- noreload