django createsuperuser

Enter the command "django-admin startproject mysite" to create the Django project.

Navigate to the project directory using "cd mysite".

Run "python manage.py migrate" to apply any initial database migrations.

Execute "python manage.py createsuperuser" and provide the username, email address, and password when prompted. This will create a superuser account for administrative access.

You will receive a confirmation message once the superuser account has been successfully created.

Access the Django admin interface by running "python manage.py runserver" and visiting the provided local server address in your web browser.

Log in using the superuser credentials to access the admin dashboard.