Lesson 3 - Hotel Booking & Ride sharing webapp - Django URL, templates, home page & folder structure

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ต.ค. 2024
  • This is the lesson 3 of my Django full stack development tutorial on how to build a robust and sophisticated web application that has the functionalities of uber, booking.com and Airbnb.
    In this tutorial I explained Django Folder structure and the various files that make up a Django application.
    I created a new URL pattern in urls.py to route requests to our views for our home page.
    In the views.py, we created a function-based view named home
    We set up a templates directory to store our HTML files. In this directory, we created a file named home.html.
    Finally, we ran the Django development server to see our application in action. By executing python manage.py runserver, we launched our app and visited 127.0.0.1:8000/ in the browser to see our homepage.
    This step-by-step guide helps you understand how to set up a basic Django project and create a simple view. I hope this tutorial was helpful! If you have any questions or need further clarification, feel free to leave a comment below. And also watch the previous video to get a clearer understanding of what we have done so far.
    Don't forget to like, share, and subscribe for more tutorials!

ความคิดเห็น • 8

  • @TammunongoBerepele
    @TammunongoBerepele 4 หลายเดือนก่อน +3

    Nice job

  • @IbrahimBako-dh6js
    @IbrahimBako-dh6js 3 หลายเดือนก่อน +2

    Done and was successful!
    Thanks a lot sir

  • @Adedoyin-vc8eu
    @Adedoyin-vc8eu 2 หลายเดือนก่อน

    Keep it up 👏🏽

  • @IbrahimBako-dh6js
    @IbrahimBako-dh6js 3 หลายเดือนก่อน +1

    Good day sir. Pls i have issues with python on my PC, it was successful downloaded and installed but i can't find python on cmd using the command "python --version". And also, when i wanna enter any command on git bash, I'm able to use "py" and not "python" instead. So how can i resolve this issue sir pls🙏

    • @evans-fullstack-tutorial
      @evans-fullstack-tutorial  3 หลายเดือนก่อน

      You need to add python to your environment path. The easiest way to do this is to reinstall python. During the installation process, you would see a checkbox below that says add python to path, just click on it. Alternatively, you can search for edit the system environment variable from your start icon then click on environment variables, click on path under the system variables, click on edit, click new, then copy the location of your python installation script and paste. then click ok. The location looks like this C:\Users\LENOVO\AppData\Roaming\Python\Python312\Scripts If you have further challenges please let me know so I can schedule a meeting with you and resolve the issues.

  • @divineomotoyinbo8723
    @divineomotoyinbo8723 15 วันที่ผ่านมา

    Good morning Mr. Evans, I just sent you another mail this morning, please kindly confirm and reply. Thanks