Django: access the attributes of a model dynamically


/ Published in: Django
Save to your folder(s)

example: a method on a model that outputs a list of tuples with (attribute_name.verbose, attribute_value)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.