Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 28, 2024
1 parent 311f9f4 commit 5423fd1
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ <h2>Books</h2>
</ul>
<a href="{% url 'author-list' %}" class="btn btn-secondary">Back to list</a>
<a href="{% url 'author-update' author.pk %}" class="btn btn-primary">Edit Author</a>
{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ <h1 class="my-4">Edit Author</h1>
<button type="submit" class="btn btn-primary">Save changes</button>
<a href="{% url 'author-detail' author.pk %}" class="btn btn-secondary">Cancel</a>
</form>
{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ <h1 class="my-4">Authors</h1>
<li><a href="{{ author.get_absolute_url }}">{{ author.full_name }}</a></li>
{% endfor %}
</ul>
{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
color: #d4d4d4 !important;
}
</style>


</head>
<body>
<nav class="navbar navbar-expand-lg">
Expand All @@ -45,4 +45,4 @@
</div>
{% block extra_js %}{% endblock %}
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ <h2 class="my-4">Physical Copies</h2>
{% elif book|classname == 'Magazine' %}
<a href="{% url 'magazine-update' book.pk %}" class="btn btn-primary">Edit</a>
{% endif %}
{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ <h1 class="my-4">Edit Book</h1>
<button type="submit" class="btn btn-primary">Save changes</button>
<a href="{% url 'book-detail' book.pk %}" class="btn btn-secondary">Cancel</a>
</form>
{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ <h1 class="my-4">Book List</h1>
{% endif %}
</ul>
</nav>
{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ <h5 class="card-title">Condition of Physical Books</h5>
</div>


{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ <h1 class="my-4">Magazines</h1>
{% endfor %}
</ul>
<a href="{% url 'magazine-create' %}" class="btn btn-primary mt-4">Add New Magazine</a>
{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ <h1>Update Physical Copy Condition</h1>
<button type="submit" class="btn btn-primary">Save</button>
</form>
<a href="{% url 'book-detail' object.book.pk %}" class="btn btn-secondary">Cancel</a>
{% endblock %}
{% endblock %}
1 change: 1 addition & 0 deletions sample_taggit/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
For the full list of settings and their values, see
https://docs.djangoproject.com/en/5.0/ref/settings/
"""

import os
from pathlib import Path

Expand Down

0 comments on commit 5423fd1

Please sign in to comment.