Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value conversion on assignment #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johtso
Copy link

@johtso johtso commented Sep 14, 2016

Previous to https://github.com/philippbosch/django-geoposition/releases/tag/v0.3.0 the GeopositionField had the behaviour of converting the value on assignment. This default behaviour was changed after switching to "new-style" Django custom fields.

In order to maintain a consistent behaviour, a custom assignment descriptor is required.

See: hzdg/django-enumfields#61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant