Django: Django: using properties on models