app/django/contrib/gis/db/backend/mysql/creation.py
author Mario Ferraro <fadinlight@gmail.com>
Thu, 30 Jul 2009 14:00:37 +0200
changeset 2696 c76c9c5916bd
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Moved the student<->mentor map on the org home page below the list. Also fixed the wrong EOL in the home.html template. Patch by: Mario Ferraro and Lennard de Rijk Reviewed by: to-be-reviewed


def create_spatial_db(test=True, verbosity=1, autoclobber=False):
    if not test: raise NotImplementedError('This uses `create_test_db` from test/utils.py')
    from django.db import connection
    connection.creation.create_test_db(verbosity, autoclobber)