Building a Django Game Store: From Setup to User Authentication
1. Creating the Project’s Main App
1.1 Why Split into Apps?
In a Django project, splitting it into multiple apps is a good practice. There are two main reasons for this:
- Reusability : The same app can be reused across different projects.
- Separation of Concerns : It makes the project more organized, easier to understand, and maintain.
1.2 Creating the App
To create a new Django app named main , run the following command:
python manager.py startapp main
If no output is displayed, don’t worry; Django creates the project and the app silently. You’
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



