Add local settings

This commit is contained in:
Nyymix 2024-12-29 17:34:29 +02:00
parent efa3398992
commit ae458acc77
2 changed files with 8 additions and 1 deletions

View file

@ -125,3 +125,10 @@ STATICFILES_DIRS = [
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
# Import local settings
try:
from .local_settings import *
except ImportError:
pass

View file

@ -68,7 +68,7 @@
<nav class="uk-flex uk-flex-between uk-margin-small-top uk-margin-small-bottom" aria-label="Breadcrumb">
<div class="uk-margin-left">
<ul class="uk-breadcrumb">
<li><a href="{% url 'gallery:main_url' %}">Home</a></li>
<li><a href="{% url 'gallery:main_url' %}" uk-icon="home"></a></li>
{% block breadcrumb %}{% endblock %}
</ul>
</div>