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> <body>
<h1>Map</h1> <h1>Map</h1>
<ul> <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 %} {% for room in rooms %}
<li>{{ room }}</li> <li>{{ room }}</li>
{% endfor %} {% 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 For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/ https://docs.djangoproject.com/en/3.1/ref/settings/
""" """
from pathlib import Path from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'. # Build paths inside the project like this: BASE_DIR / 'subdir'.
@ -31,6 +30,7 @@ ALLOWED_HOSTS = []
# Application definition # Application definition
INSTALLED_APPS = [ INSTALLED_APPS = [
'map.apps.MapConfig',
'django.contrib.admin', 'django.contrib.admin',
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',