Commit bd8eb53d authored by impfundev's avatar impfundev

fix: book template file name

parent 7a65a138
......@@ -9,8 +9,8 @@
>
<i class="bi bi-plus-circle"></i> Add Book
</button>
{% include "create_form.html" %}
{% include "book_create_form.html" %}
</div>
{% include "table_data.html" %} {% include "delete_form.html" %}
{% include "book_table_data.html" %} {% include "book_delete_form.html" %}
</div>
{% endblock dashboard %}
......@@ -18,7 +18,7 @@ def index(request):
Book.objects.create(title=title, description=description)
return render(request, "index.html", context)
return render(request, "book.html", context)
def update(request, id):
......@@ -51,4 +51,4 @@ def delete(request, id):
book.delete()
return HttpResponseRedirect("/dashboard/books")
return render(request, "index.html", context)
return render(request, "book.html", context)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment