django create ap

  1. Create a new Django app by running the command "django-admin startapp " in the terminal.
  2. Define your app's models by editing the models.py file within the newly created app directory.
  3. Create views for your app by editing the views.py file within the app directory.
  4. Define the app's URLs by editing the urls.py file within the app directory.
  5. Add the newly created app to the INSTALLED_APPS list in the settings.py file of your Django project.
  6. Run "python manage.py makemigrations" and "python manage.py migrate" to apply the changes to your database schema.
  7. Start the development server using the "python manage.py runserver" command and visit the specified app URLs to see the results.