Category: Django

  • Django Admin Interface

    Django provides a built-in admin module which can be used to perform CRUD operations on the models. It reads metadata from the model to provide a quick interface where the user can manage the content of the application. This is a built-in module and designed to perform admin related tasks to the user. Let’s see…

  • Django Virtual Environment Setup

    The virtual environment is an environment which is used by Django to execute an application. It is recommended to create and execute a Django application in a separate environment. Python provides a tool virtualenv to create an isolated Python environment. We will use this tool to create a virtual environment for our Django application. To set up…

  • Django Configuration with Apache Web Server

    Django uses its built-in development server to run the web application. To start this server, we can use python manage.py runserver command. This command starts the server which runs on port 8000 and can be accessed at browser by entering localhost:8000. It shows a welcome page of the application. And at browser, it can be accessed as below.…

  • Django Project

    In the previous topic, we have installed Django successfully. Now, we will learn step by step process to create a Django application. To create a Django project, we can use the following command. projectname is the name of Django application. Django Project Example Here, we are creating a project djangpapp in the current directory. Locate into the Project Now,…

  • Django Installation

    To install Django, first visit to django official site (https://www.djangoproject.com) and download django by clicking on the download section. Here, we will see various options to download The Django. Django requires pip to start installation. Pip is a package manager system which is used to install and manage packages written in python. For Python 3.4 and higher versions pip3 is used…

  • Django Tutorial

    Django Tutorial provides basic and advanced concepts of Django. Our Django Tutorial is designed for beginners and professionals both. Django is a Web Application Framework which is used to develop web applications. Our Django Tutorial includes all topics of Django such as introduction, features, installation, environment setup, admin interface, cookie, form validation, Model, Template Engine,…