From ArchWiki
Revision as of 11:43, 17 June 2016 by Lonaowna (talk | contribs) (Installation: mention you need an extra package for mysql database support)
Jump to: navigation, search

Django is a high-level Python Web framework which follows the model–view–template (MVT) architectural pattern.


Two packages of Django are currently available in the official repositories. They can be installed with the following packages:

Database driver

If you intend to use a MySQL/MariaDB database as backend, also install the python-mysqlclientAUR package.


If you wish to start a Django project, use django-admin command

$ django-admin startproject mysite

This will create a mysite directory in your current directory. It will also create a script, which will let you interact with your project.

More information you will find in the official Django tutorial and Django documentation.