In my model I have a method and a property to return the result of the
method:
class MyModel(models.Model)
...
def get_my_property(self):
return '1234'
my_property = property(get_my_property)
Now I want to display this property on the index page in a {{ }}
variable tag. What is the correct syntax, and where can I find this in
the docs?
Thanks very much for any help.
Lee
{{ app_list.1.models.21.admin_url }}
I'm hoping for a similarly simple way to show the results of model
methods on the same page so that we can provide a dashboard of
statistics from the database.
I appreciate your help.
Lee