Author: admin

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...

pythhon-tuts-pythoncodeverse

Python Variable

Computer programs use variables to remember important information, like items in a shopping cart, prices and discounts. Variables are used to store the data that we need to store and manipulate in our programs. Variables have...

pythhon-tuts-pythoncodeverse

Python Comments

Comments are used to explain the code. Comments are written to make our code more readable for other programmers. The comment line is ignored by the Python interpreter. Single-Line Comments: To add comments to...

pythhon-tuts-pythoncodeverse

Python First Program

In this tutorial, we will develop the Python Hello, World program. Here’s a simple “Hello, World!” program in Python: To run this program, follow these steps: You should see the output: Hello, World!

pythhon-tuts-pythoncodeverse

Python Syntax

Python is a high-level programming language known for its simplicity and readability. Here are some fundamental aspects of Python syntax: Statements and Indentation: Example: Comments: Example: Variables and Data Types: Example: Operators: Example: Conditional...