PointField does not allow setting blank=True and null=False
The following code worked nicely in Python 3.3 / Django 1.6.x:
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.1:
$ ./manage.py makemigrations
$ ./manage.py migrate
...
ValueError: String or unicode input unrecognized as WKT EWKT, and HEXEWKB.
Change History
(6)
Description: |
modified (diff)
|
Severity: |
Normal → Release blocker
|
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to Tim Graham
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR