Django

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

Installation

Install the python-django package. Documentation can be installed with the django-docsAUR package.

Database driver

There are different database backends available for Django:

Usage

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 manage.py script, which will let you interact with your project.

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

gollark: What? Why? Where? Who? When? How?
gollark: I seem to actually be making money on synthetieggs somehow.
gollark: That's one peaceful island!
gollark: I don't really see how that's remotely important.
gollark: I fail to see why you would want the Electron app. You have a browser open; use it and don't waste RAM.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.