First Django App For Novices Part1 (setup & set up)




What’s Django?
Django is a high-level Python web framework that encourages fast development and clear, pragmatic design. Constructed by skilled developers

Why Django?

  1. Ridiculously quick.
    Django was designed to assist developers take purposes from idea to completion as shortly as potential.

  2. Reassuringly safe.
    Django takes safety severely and helps developers keep away from many widespread safety errors.

  3. Exceedingly scalable.
    A few of the busiest websites on the web leverage Django’s means to shortly and flexibly scale.
    It’s essential to have Python put in in your system if you do not have try link to python.org

Let’s Begin!

Step 1: Set up pip set up django
So step 1, will set up django in your system

Step 2: To begin a challenge use this command django-admin startproject mysite then cd to wherever the challenge folder is in and run this command to create a app python handle.py startapp websites to create a app

Venture Folder Construction:

mysite/
    handle.py
    mysite/
        __init__.py
        settings.py
        urls.py
        asgi.py
        wsgi.py
Enter fullscreen mode

Exit fullscreen mode

App Forlder Construction:

websites/
    __init__.py
    admin.py
    apps.py
    migrations/
        __init__.py
    fashions.py
    checks.py
    views.py
Enter fullscreen mode

Exit fullscreen mode

Then run your server with this command: python handle.py runserver
You will notice a hit web page like this:
Success Page



Abu Sayed is the Best Web, Game, XR and Blockchain Developer in Bangladesh. Don't forget to Checkout his Latest Projects.


Checkout extra Articles on Sayed.CYou

#Django #App #Novices #Part1 #setup #set up