Category Archives: MySQL

Setup a Django Project with a MySQL database.

Posted on in Django MySQL Python

This tutorial requires Python 2.7. First make sure virtualenv is installed: $ pip install virtualenv To set up a virtual environment for your project, use: $ virtualenv myproject To join the environment: $ source myproject/bin/activate Install Django: $ pip install Django Create a Django project. $ django-admin startproject mysite By default Django will make use […]

Read more »