Author: admin

  • 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,…

  • Deployment Of Application

    Configuration There are different levels of configuration settings required in a web application − Deployment Deployment of CherryPy application is considered to be quite an easy method where all the required packages are available from the Python system path. In shared web-hosted environment, web server will reside in the front end which allows the host…

  • Testing

    Testing is a process during which the application is conducted from different perspectives in order to − The goal of testing is not to put the developer at fault but to provide tools and improve the quality to estimate the health of the application at a given time. Testing needs to be planned in advance.…

  • Demo Application

    Consider Photoblog application for the demo application of CherryPy. A Photoblog application is a normal blog but the principal text will be photos in place of text. The main catch of Photoblog application is that the developer can focus more on design and implementation. Basic Structure – Design of Entities The entities design the basic structure of…

  • Use Of Ajax

    Till the year 2005, the pattern followed in all web applications was to manage one HTTP request per page. The navigation of one page to another page required loading the complete page. This would reduce the performance at a greater level. Thus, there was a rise in rich client applications which used to embed AJAX, XML, and…

  • Presentation Layer

    Kid — The Template Engine Kid is a simple template engine which includes the name of the template to be processed (which is mandatory) and input of the data to be passed when the template is rendered. On creation of the template for the first time, Kid creates a Python module which can be served as…