Compare commits
No commits in common. "5bc92a584177075161302b71320479bfec5f9f0d" and "8f340f6567082dbc547cbdcf7498c8c23e3b74ac" have entirely different histories.
5bc92a5841
...
8f340f6567
@ -14,7 +14,6 @@ https://docs.djangoproject.com/en/3.0/ref/settings/
|
||||
"""
|
||||
|
||||
import os
|
||||
from django.urls import reverse_lazy
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
@ -139,8 +138,6 @@ AUTH_USER_MODEL = 'lostplaces_app.Explorer'
|
||||
LOGIN_REDIRECT_URL = 'home'
|
||||
LOGOUT_REDIRECT_URL = 'home'
|
||||
|
||||
LOGIN_URL = reverse_lazy('login')
|
||||
|
||||
THUMBNAIL_ALIASES = {
|
||||
'': {
|
||||
'thumbnail': {'size': (300, 300), 'crop': False},
|
||||
|
@ -46,13 +46,6 @@
|
||||
</nav>
|
||||
</section>
|
||||
<section class="LP-Main__Content">
|
||||
{% if messages %}
|
||||
<ul class="messages">
|
||||
{% for message in messages %}
|
||||
<li {% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% block maincontent %}
|
||||
{% endblock maincontent %}
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user