~canonical-django/canonical-django/project-template

« back to all changes in this revision

Viewing changes to trunk/python-packages/django/contrib/gis/db/backend/oracle/creation.py

  • Committer: Matthew Nuzum
  • Date: 2008-11-13 05:46:03 UTC
  • Revision ID: matthew.nuzum@canonical.com-20081113054603-v0kvr6z6xyexvqt3
adding to version control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
def create_spatial_db(test=True, verbosity=1, autoclobber=False):
 
3
    "A wrapper over the Oracle `create_test_db` routine."
 
4
    if not test: raise NotImplementedError('This uses `create_test_db` from db/backends/oracle/creation.py')
 
5
    from django.db import connection
 
6
    connection.creation.create_test_db(verbosity, autoclobber)