1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

[1.2.X] Fixed #13671, #13748 -- Fixed errata and minor updates to GeoDjango docs.

Backport of r13398 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Justin Bronn
2010-06-23 17:38:47 +00:00
parent 1b5f812aad
commit 90380b8fcf
2 changed files with 8 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
POSTGIS_SQL_PATH=`pg_config --sharedir`/contrib/postgis-1.4
POSTGIS_SQL_PATH=`pg_config --sharedir`/contrib
createdb -E UTF8 template_postgis # Create the template spatial database.
createlang -d template_postgis plpgsql # Adding PLPGSQL language support.
psql -d postgres -c "UPDATE pg_database SET datistemplate='true' WHERE datname='template_postgis';"