×

Django Tutorial

Django Examples

Django Practice

Django| How to create Landing Page (First Page)?

Submitted by Pankaj Singh, on October 20, 2018

Step 1: Create a Sandbox, Activate it, and Install Django and Create Sample Project.

(i) Creating Sandbox

django create landing page step 1

(ii) Activating It

django create landing page step 2

(iii) Installing Django

django create landing page step 3

(iv) Creating Sample Project [landing1]

django create landing page step 4

django create landing page step 5

Step 2: Add a controller file(views.py) to manage views in admin app(landing1)

django create landing page step 6

Step 3: Add controller actions(functions) to views.py to manage requests.

django create landing page step 7

Step 4: Add new url to urls.py in admin app(landing1)

django create landing page step 8

django create landing page step 9

Step 5: Run the Server

django create landing page step 10

Step 6: Open Browser and type http://127.0.0.1:3400

django create landing page step 11


Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.