diff --git a/contacts/templates/contacts/contact_detail.html b/contacts/templates/contacts/contact_detail.html index 68a1ea3..d2f9d58 100644 --- a/contacts/templates/contacts/contact_detail.html +++ b/contacts/templates/contacts/contact_detail.html @@ -1,7 +1,8 @@ {% extends 'contacts/base.html' %} {% block content %} +Go back to contacts

{{ contact.name }} (edit)

Age: {{ contact.age }}

-Delete contact +Delete contact
{% endblock %} \ No newline at end of file diff --git a/contacts/templates/contacts/contact_form.html b/contacts/templates/contacts/contact_form.html index 01c37c6..3e2eb9c 100644 --- a/contacts/templates/contacts/contact_form.html +++ b/contacts/templates/contacts/contact_form.html @@ -1,5 +1,6 @@ {% extends 'contacts/base.html' %} {% block content %} +Go back to contacts

New Contact

{% csrf_token %} {{ form.as_p }} diff --git a/django_contacts/settings.py b/django_contacts/settings.py index 14d30c2..83f7949 100644 --- a/django_contacts/settings.py +++ b/django_contacts/settings.py @@ -32,7 +32,7 @@ SECRET_KEY = os.environ['SECRET_KEY'] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['localhost', 'shielded-eyrie-36463.herokuapp.com'] +ALLOWED_HOSTS = ['localhost'] # Application definition