0

私はジャンゴが初めてです。連絡先ページに django-bootstrap-toolkit を使用しています。ローカルでテストすると問題なく動作します。しかし、ホスティング サーバーでエラーが発生しますが、他のすべてのページは問題なく動作します。

Exception Type: TemplateDoesNotExist
Exception Value: bootstrap_toolkit/form.html

contact_us.html ページはこちら

bootstrap_toolkit/form.html

{% extends 'base.html' %}

{% load bootstrap_toolkit %}

{% block content %}
    <div id="wrap">
        <div class="container">
            <div class="page-header">
                <h1 id="contact">Contact</h1>
            </div>
            <div class="form well" >
                <h4 class="">Feedback</h4>
                <p class="">Thank you for downloading BookxGeek. I look forward to hearing your feedback!</p>
                <form action="." method="post" class="form" >
                    {% csrf_token %}
                    {% bootstrap_form form layout="vertical" %}
                    <br>
                    <div class="form-actions">
                        <button type="submit" class="btn btn-primary">Submit</button>
                    </div>
                </form>
            </div>
        </div>
        <hr class="soft">
    </div>
{% endblock %}
4

0 に答える 0