~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/ref/contrib/gis/testing.txt

  • Committer: Bazaar Package Importer
  • Author(s): Raphaël Hertzog
  • Date: 2010-09-18 19:37:03 UTC
  • mto: (1.1.12 upstream) (4.4.9 sid)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20100918193703-sw44inm7dnu8mf42
Import upstream version 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
In Django 1.2, the addition of :ref:`spatial-backends`
8
8
simplified the process of testing GeoDjango applications.  Specifically, testing
9
 
GeoDjango applications is now the same as :ref:`topics-testing`.
 
9
GeoDjango applications is now the same as :doc:`/topics/testing`.
10
10
 
11
11
Included in this documentation are some additional notes and settings
12
12
for :ref:`testing-postgis` and :ref:`testing-spatialite` users.
133
133
If ``init_spatialite-2.3.sql`` is in the same path as your project's ``manage.py``,
134
134
then all you have to do is::
135
135
 
136
 
    $ python manage.py test 
 
136
    $ python manage.py test
137
137
 
138
138
Settings
139
139
--------
166
166
 
167
167
.. note::
168
168
 
169
 
    In order to create a spatial database, the :setting:`DATABASE_USER` setting
170
 
    (or :setting:`TEST_DATABASE_USER`, if optionally defined on Oracle) requires
171
 
    elevated privileges.  When using PostGIS or MySQL, the database user 
 
169
    In order to create a spatial database, the :setting:`USER` setting
 
170
    (or :setting:`TEST_USER`, if optionally defined on Oracle) requires
 
171
    elevated privileges.  When using PostGIS or MySQL, the database user
172
172
    must have at least the ability to create databases.  When testing on Oracle,
173
173
    the user should be a superuser.
174
174