{% load base_tags %} {% load perm_tags %} {% load i18n %} {% has_perm user articles.change_article opt_object as can_edit %} {% has_perm user articles.delete_article opt_object as can_delete %}