Fix static files
This commit is contained in:
parent
64ca7fc1eb
commit
075e373ab2
2 changed files with 2 additions and 2 deletions
|
|
@ -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 %}
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue