PyCharm创建app的两种方式
方式1
1-1
在terminal中敲如下代码
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/a09621b01c6a9add774eb441545e9222.png)
python manage.py startapp xxx
1-2
在settings.py中INSTALLED_APPS下面添加xxx.apps.XxxConfig
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/dc01b444e87d7da1c8e7348dbf1733fb.png)
虽然会报红,但是没事
图中我是创建了students的app名称
方式二
2-1
file–>New Project
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/b712b6cbf4d99a7cffefb1856434a194.png)
2-2 选django
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/fbeabddbdcb0e698bd636c3dacf7d40f.png)
2-3再点More Settings
location记得自己改下
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/c944f942a7eb4f02422247645c64c0c8.png)
在Application name这一栏 写上要取的名字即可
然后就OK了