Installing Jython and Django explained Jython on Django installation and configuration for Oracle GlassFish Server. To use the Django administration utility for creating applications based on a database, you need a database and the JDBC drivers for Jython to connect to that database. The following steps briefly describe the tasks involved:
Install a database such as PostgreSQL.
Create a database instance.
Install the django-jython packages for the database connectors, if not already installed.
Edit the settings.py file and configure the database and administration utility.
Add the database drivers to the class path to allow Jython to access the database.
Synchronize the database with the following command:
jython manage.py syncdb
Edit the urls.py file and uncomment the lines pertaining to the administration utility.
Make the stylesheets available to the Jython container:
asadmin deploy --property jython.mediaRoot=jython-install/Lib/site-packages/django/contrib/admin/
You can find more information on how to install and use databases with Django administration in the following tutorial: