我做过一些Django开发,但都是在文本编辑器中完成的。我很好奇其他人在Django开发中使用了什么更高级的开发工具。
我习惯使用Visual Studio进行开发,非常喜欢它提供的智能感知、代码补全和文件组织,希望能在Django/Python环境中找到一些(或工具组合)可以提供这些功能的东西。
我做过一些Django开发,但都是在文本编辑器中完成的。我很好奇其他人在Django开发中使用了什么更高级的开发工具。
我习惯使用Visual Studio进行开发,非常喜欢它提供的智能感知、代码补全和文件组织,希望能在Django/Python环境中找到一些(或工具组合)可以提供这些功能的东西。
当前回答
Editra支持Django模板语言语法高亮显示。您可以将其配置为更好的记事本或基本IDE。
其他回答
有来自JetBrains的PyCharm,支持Django和谷歌应用程序。看起来很有希望。
注意:如果你想要Django支持,你需要购买专业版的许可证。社区版不支持Django。
Eclipse有用于python开发的PyDev插件。不幸的是,我不确定它与Django的集成有多好。
我使用科莫多编辑器。查看打开科莫多编辑。
现在你也可以使用Visual Studio 2010了。方法如下:
Download and install Python Tools for Visual Studio. Create a new project from existing code (menu File → New → Project From Existing Code...) Specify your Django project folder and use the defaults. Right-click on manage.py and choose Set as Startup File. In your project properties Debug tab, add "runserver" in Script Arguments. You can set break points, and attach to the Python process for debugging. If you want to debug without having to "attach to process," use "runserver --noreload" in your script arguments. However, the "--noreload" means you'll have to stop and restart the Django development web server manually (to recognize your code changes).
如果您已经使用Visual Studio,这是一个很好的设置。
Python工具已经更新。它现在已经内置了对Django的支持。
Editra支持Django模板语言语法高亮显示。您可以将其配置为更好的记事本或基本IDE。