Category: Django

Django Tutorials

django-tutorials-python

URLs in Django

URLs play an important role in Django to directing user requests to the correct views. The pattern which is defined in the URL file django URL dispatcher matches the incoming request to the specific...

django-tutorials-python

Views in Django

Python contains a function called Views which handles logics for processing requests and returning responses. Views work as the middle layer between models and the templates. We can put views.py file in our projects...

django-tutorials-python

File Structure in Django

For creating Django projects you must write the below command: Command: This will create a directory structure like this: __init__.py: Its plays a key role in organizing code within the package in Django. asgi.py: ...

django-tutorials-python

How to set up Django

Step1: As we know that django is framework of python so our system must have python. To check python is installed you must type below commands on your command prompt or terminal. Command: python...

django-tutorials-python

Django Introduction

Django is a framework of python having capability to make websites by using python. Django is used to develop secure, scalable and more efficient web applications. Django have many in built quality like default...