Fix static files

This commit is contained in:
henriquenakashima 2021-03-28 13:52:44 -04:00
parent 64ca7fc1eb
commit 075e373ab2
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
<body>
<h1>Map</h1>
<ul>
<img src="{% static 'map/noun_dragon_3820621.png' %}" alt="My image">
<img src="{% static 'map/noun_brussels town hall_3284349.png' %}" alt="My image">
{% for room in rooms %}
<li>{{ room }}</li>
{% endfor %}

View file

@ -9,7 +9,6 @@ https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
@ -31,6 +30,7 @@ ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'map.apps.MapConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',