Opened 10 years ago
Last modified 10 years ago
#23731 closed Bug
PointField does not allow setting blank=True and null=False — at Initial Version
Reported by: | George Tantiras | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | 1.7 |
Severity: | Release blocker | Keywords: | PointField, gis |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The following code worked nicely in Python 3.3 / Django 1.6:
from django.contrib.gis.db import models class Coordinates(models.Model): point = models.PointField(blank=True,null=False) objects = models.GeoManager()
However, in Python 3.3 / Django 1.7:
$ ./manage.py makemigrations $ ./manage.py migrate
... ValueError: String or unicode input unrecognized as WKT EWKT, and HEXEWKB.
Note:
See TracTickets
for help on using tickets.