Opened 9 years ago

Last modified 9 years ago

#25379 closed Cleanup/optimization

Update GeoDjango tutorial to Postgres 9.1+ and CreateExtension — at Initial Version

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

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.

Change History (0)

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