Opened 8 years ago

Closed 8 years ago

#25379 closed Cleanup/optimization (fixed)

Remove obsolete PostgreSQL steps from GeoDjango tutorial

Reported by: Flavio Curella Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Flavio Curella)

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.

Change History (4)

comment:1 by Flavio Curella, 8 years ago

Description: modified (diff)

comment:3 by Tim Graham, 8 years ago

Has patch: set
Summary: Update GeoDjango tutorial to Postgres 9.1+ and CreateExtensionRemove obsolete PostgreSQL steps from GeoDjango tutorial
Triage Stage: UnreviewedReady for checkin
Type: UncategorizedCleanup/optimization

comment:4 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In dfced09:

Fixed #25379 -- Removed obsolete information from GeoDjango tutorial.

Django 1.9 drops support for PostgreSQL 9.0 where creating
a database using a template was needed.

Note: See TracTickets for help on using tickets.
Back to Top