app/django/contrib/gis/db/backend/mysql/creation.py
author Todd Larsen <tlarsen@google.com>
Sat, 22 Nov 2008 03:13:59 +0000
changeset 542 7cc99461b64d
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Remove redundant dicts for URL patterns and sidebar menu text, and use the existing params dict instead. Add a sidebar_heading customization to params. Better differentiate the 'User (self)' and 'Users' sidebar menus. Remove the redundant Site settings menu items now that the Site entity is a singleton. Patch by: Todd Larsen


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)