Opened 10 years ago
Closed 10 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 )
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 , 10 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
| Has patch: | set |
|---|---|
| Summary: | Update GeoDjango tutorial to Postgres 9.1+ and CreateExtension → Remove obsolete PostgreSQL steps from GeoDjango tutorial |
| Triage Stage: | Unreviewed → Ready for checkin |
| Type: | Uncategorized → Cleanup/optimization |
Note:
See TracTickets
for help on using tickets.
initial PR https://github.com/django/django/pull/5265