You are on page 1of 5

Osmeña, Micha Gaile G.

CIT 511 - IT32S3


Mr. San Juan March 1, 2023

1. Create a project folder named films_project

2. Create a new virtual environment using the venv.

3. Activate the virtual environment.

4. Install Django with PIP: pip install django.

5. Start a Django project called project itself.

6. Start a Django application.


7. project/settings.py

8. Python manage.py check.

9. Python manage.py runserver.

10. Browser address: http://127.0.0.1:8000/. (Django default homepage).


11. Python manage.py migrate

12. Python manage.py createsuperuser.

13. http://localhost:8000/admin/
14. Create our first new route, which will replace the Django default page by modifying the
project/urls.py file.

15. Adding the function to films/views.py:

16. Accessing http://localhost:8000 again to check how the new modified page is displayed with the
information I set in the home view function.

17. Modify the home function in films/views.py.


18. After modifying the films/views.py, here is the result:

19.

You might also like