{% extends 'book/base.html' %} {%block content%}

Add New Book

{% csrf_token %} {{form.as_p}}

Show Book Data

{%if stu%}

Table Data

{%for st in stu%} {%endfor%}
ID Book Name Author Price Action
{{st.id}} {{st.bookname}} {{st.author}} {{st.price}} Edit
{% csrf_token %}
{% else %}

No Records found

{% endif %}
{%endblock content%}