[PYTHON] Mac + Eclipse (PyDev) + Django environment construction
- Python, Django, Eclipse are assumed to be installed
■ Installation of PyDev
- Enter "PyDev-http://pydev.org/updates/" in Help-> Install New Software-> Work with: in Eclipse
- Check the "PyDev" that appears Next-> Next-> Accept-> Finish
- If you want to install an older version, uncheck "Show only the latest version of available software". (When it doesn't work with PyDev 3.x system, it works when 2.x system is inserted)
- Installation complete
■ Django path settings
- Eclipse-> Preferences-> PyDev-> Interpreter --Click "Auto Config" in Python
- Apply to System PYTHONPATH by specifying the Django folder with New Folder
- Path setting completed
■ Project creation
[When creating a new project]
- File -> New -> PyDev Django Project -> Next
- Choose a name and finish
- Select PyDev: Django in Run As
- "It worked!" At http: // localhost: 8000 /
[When generating a project from existing code]
- File -> New -> PyDev Django Project -> Next
- After deciding the name appropriately, uncheck Use Default of Project Content, select the folder of the existing code and Finish