main_menu.html
<li {% if report_menu %}class="current"{% endif %}><a href="{% url incident.views.index %}"> Reports </a></li>
{% if is_superuser%}<li {% if about_menu %}class="current"{% endif %}><a href="{% url incident.views.about_me %}">Settings</a>{% endif %}
スーパーユーザー以外の設定メニューを許可したくないので、テンプレート{% if is_superuser %}settings{% endif %}
でこのように検証しましたが、それでもスーパーユーザーログイン以外の設定メニューが表示されています。
私のサイトにスーパーユーザー以外がログインしている場合、main_menu.html の上記の設定メニューが表示されないはずです。これを行うにはヘルプが必要です。
これを解決するには助けが必要です。
ありがとう