> > Thanks for the insight, I'm on the same page as you. > > My only real concern is that I will have to use a function, such as this one to get the human readable version of the stored data, then you need to lookup the value from the dict. And if you're doing querying on that object using key words, you have to query based on the human readable names, so that will cost you to look them all up every time and do a like SQL query or contains every time.
def school_year_to_dict(): return dict((x, y) for x, y in YEAR_IN_SCHOOL_CHOICES) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4aff74b9-b684-4510-aa3a-95259c13f786%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.