openbsd-ports/www/py-django/pkg
rpointel 50e0636f2c Update Django to 1.3.
From Piotr Sikora, ok Ryan Boggs (MAINTAINER), discussed with me and landry@.
2011-04-24 18:40:03 +00:00
..
DESCR
PLIST Update Django to 1.3. 2011-04-24 18:40:03 +00:00
README Update Django to 1.3. 2011-04-24 18:40:03 +00:00

$OpenBSD: README,v 1.1 2011/04/24 18:40:03 rpointel Exp $

Running Django on OpenBSD
=========================

Documentation
-------------
Complete project documentation may be found in:
${PREFIX}/share/doc/${LNAME}/

or online:
http://docs.djangoproject.com/en/${MODPY_EGG_VERSION}/

Release notes about the changes that occurred in this release
may be found online at:
http://docs.djangoproject.com/en/dev/releases/${MODPY_EGG_VERSION}/

Databases
---------
Django supports number of different databases, but you need
to install Python database adapter(s) to use them:
* py-mysql - for MySQL database, 
* py-psycopg2 - for PostgreSQL database.

SQLite works out-of-the-box.

UTF-8
-----
Django assumes that you're running UTF-8 capable system, but
it doesn't enforce any locales, which results in regressions
when running in an environment without enabled UTF-8 locale.

This means that, unless you've got UTF-8 locale enabled for
your profile, you need to enable UTF-8 while starting Django
process:

    $ env LC_CTYPE=en_US.UTF-8 ./manage.py runserver

or configure your application server to pass this setting.