Django Cheat Sheet

Install Django Verify Django Installation List all installed python modules / packages Create new django project Run Django Project Create New App help MySql Database connection open db shell with default connection MySql Database Connection Troubleshoot in Windows OSDownload whl package which is compatible with your python version mysqlclient To check whether python is […]

Hello World django

Here are simple steps to create hello world web application in python using django framework Step 1: Install virtual environment and create virtual environment for your project pip install virtualenvwrapper-win mkvirtualenv myproject pip install virtualenv virtualenv name_to_your_env name_to_your_env\Scripts\activate After activation  $ startproject HelloWorld $ cd HelloWorld $ ls HelloWorld $ python runserver Validating […]

Experienced Interview Question

PHP What Is a Persistent Cookie and how it is different from Temporary cookie? How To Get the Uploaded File Information in the Receiving Script? What is the difference between mysql_fetch_object and mysql_fetch_array? How can we encrypt the username and password using PHP? why we use ceil() and floor() function in PHP? what is otput […]