Creating Django apps
In Django, an app is a self-contained module that provides a specific functionality to our project. We can create a new app using the following command:
python manage.py startapp appname
This will create a new directory called appname which contains the basic structure of a Django app. We can define models, views, templates, and other components inside our app.
No comments:
Post a Comment