ip mgmt 버그 수정/demo 계정기능 추가

This commit is contained in:
2025-02-18 00:43:40 +09:00
parent 7d1c508828
commit 3c2f154afb
6 changed files with 229 additions and 221 deletions

View File

@ -4,7 +4,7 @@
{% block main_area %}
<h1 class="pt-3">Blog Posts</h1>
{% if request.user.is_authenticated %}
{% if request.user.is_authenticated and request.user.is_staff %}
<a href="{% url 'blog:create_post' %}" class="btn btn-primary mb-3">Create New Post</a>
{% endif %}
<ul class="list-group">