-
Create a new GitHub repository with a README.md, and Python .gitignore file.
-
Clone it to your machine/computer, which will create a new folder on your computer with your repository’s content.
-
Create a new virtual environment in that folder named env and install Django in it.
-
Create a new Django project. Use your Zuriboard username as the name of the project.
-
Run all migrations for your project.
-
Create a new admin account for the project using the createsuperuser command.
-
Start the development server using python manage.py runserver Open the URL
http://127.0.0.1:8000/admin
and login with your new admin details. Now logout. -
Open
project_app/urls.py
and change the URL Path for the Django Admin dashboard tozuri-admin/
-
You should be able to open
http://127.0.0.1:8000/zuri-admin/
and login to the admin dashboard. -
Stage and Commit your Django project and push your changes to your GitHub repository.
-
Do not add your database
(db.sqlite)
to version control(GitHub)
. -
Ensure your final code/submission is on the default branch of your GitHub repository.
benchi3d / django-urls Goto Github PK
View Code? Open in Web Editor NEWTask Title: Django{URLs}
License: GNU General Public License v3.0