Hi,
When coding Elixir models, I find a lot of code is defining
__unicode__ methods, e.g.
class JobType(el.Entity):
name = el.Field(el.String)
def __unicode__(self):
return self.name
Now, what would be great is if there was a shortcut, something like:
class JobType(el.Entity):
name = el.Field(el.String, tounicode=True)
I'm not quite sure on the name "tounicode" but something that follows
this general idea would be fab.
Paul
--
You received this message because you are subscribed to the Google Groups
"SQLElixir" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlelixir?hl=en.