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

implement choices as Enum class #23

Open
francbartoli opened this issue Jul 31, 2018 · 0 comments
Open

implement choices as Enum class #23

francbartoli opened this issue Jul 31, 2018 · 0 comments

Comments

@francbartoli
Copy link
Owner

francbartoli commented Jul 31, 2018

https://hackernoon.com/using-enum-as-model-field-choice-in-django-92d8b97aaa63


opened via imdone.io from a code comment on 0558f49c11603f6904829546a0d6321f8fc1c005 by Francesco Bartoli francesco.bartoli@geobeyond.it


# TODO implement choices as Enum class id:12 gh:23
# https://hackernoon.com/using-enum-as-model-field-choice-in-django-92d8b97aaa63
from __future__ import unicode_literals
import re
import uuid
# import json

@francbartoli francbartoli changed the title implement choices as Enum class implement choices as Enum class Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant