diff --git a/aula207_ola_django/base/global/base.html b/aula207_ola_django/base/global/base.html
new file mode 100644
index 0000000..c3cc65b
--- /dev/null
+++ b/aula207_ola_django/base/global/base.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ Document
+
+
+ {% block texto %} BASE {% endblock texto %}
+
+
diff --git a/aula207_ola_django/home/templates/home/index.html b/aula207_ola_django/home/templates/home/index.html
index 03704ff..f7afce6 100644
--- a/aula207_ola_django/home/templates/home/index.html
+++ b/aula207_ola_django/home/templates/home/index.html
@@ -1,12 +1,3 @@
-
-
-
-
-
-
- Document
-
-
- HOME 2
-
-
\ No newline at end of file
+{% extends 'global/base.html' %}
+
+{% block texto %} MUDAR O TEXTO {% endblock texto %}
\ No newline at end of file
diff --git a/aula207_ola_django/project/settings.py b/aula207_ola_django/project/settings.py
index 23899d3..ca92270 100644
--- a/aula207_ola_django/project/settings.py
+++ b/aula207_ola_django/project/settings.py
@@ -56,7 +56,9 @@ ROOT_URLCONF = 'project.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
- 'DIRS': [],
+ 'DIRS': [
+ BASE_DIR / 'base'
+ ],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [