#25379: Update GeoDjango tutorial to Postgres 9.1+ and CreateExtension
-------------------------------+--------------------------------------
Reporter: fcurella | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by fcurella):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> The GeoDjango tutorial () still instructs to create a db using the
> spatial template.
>
> Since PostgresSQL 9.1, the preferred way is to use the `postgis`
> extension instead.
>
> This brings up another issue: should `makemigrations` automatically add a
> `CreateExtension` operation? Is that even doable?
>
> For now I've simply documented it, but it would be very handy to have it
> automatically.
New description:
The GeoDjango tutorial
(https://docs.djangoproject.com/en/1.8/ref/contrib/gis/tutorial/) still
instructs to create a db using the spatial template.
Since PostgresSQL 9.1, the preferred way is to use the `postgis` extension
instead.
This brings up another issue: should `makemigrations` automatically add a
`CreateExtension` operation? Is that even doable?
For now I've simply documented it, but it would be very handy to have it
automatically.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/25379#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.12ac41d837e4599cc03f7868631ff6af%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.