Commits

Lucas Taylor  committed 3bdbaeb

Doc fix: Incorrect example template usage for user._impersonate

  • Participants
  • Parent commits 02f38ae

Comments (0)

Files changed (1)

 "is_impersonate" attribute set to True. So if you wanted to check in your 
 templates or view, you just do something like...
 
-{% if user._impersonate %} .... {% endif %}
+{% if user.is_impersonate %} .... {% endif %}
 
 You can reference this URL with reverse() or the {% url %} template tag 
 as 'impersonate-start'