如何在 PyCharm 中设置 Django 项目 [英] How to set up a Django project in PyCharm

查看:29
本文介绍了如何在 PyCharm 中设置 Django 项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是这个领域的新手,所以我有一个问题.最近,我开始使用 Python 和 Django.我安装了 PyCharm 社区版作为我的 IDE,但我无法创建 Django 项目.

I'm new in this area so I have a question. Recently, I started working with Python and Django. I installed PyCharm Community edition as my IDE, but I'm unable to create a Django project.

我找了一些教程,有一个选择项目类型"的选项,但在最新版本中,这个选项不见了.谁能告诉我该怎么做?

I looked for some tutorials, and there is an option to select "project type", but in the latest version this option is missing. Can someone tell me how to do this?

推荐答案

你可以直接去:

In Run -> Edit Configurations create new configuration
Script: path_to/manage.py
Script parameters: runserver

这篇关于如何在 PyCharm 中设置 Django 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆