diff --git a/ReyMotaAppsDj/reymota/reymota/urls.py b/ReyMotaAppsDj/reymota/reymota/urls.py index a7b653f..71da657 100644 --- a/ReyMotaAppsDj/reymota/reymota/urls.py +++ b/ReyMotaAppsDj/reymota/reymota/urls.py @@ -33,7 +33,7 @@ urlpatterns = [ path("accounts/", include("django.contrib.auth.urls")), - path("", TemplateView.as_view(template_name="libros/index.html"), + path("", TemplateView.as_view(template_name="index.html"), name="principal"), # new ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/ReyMotaAppsDj/reymota/templates/base.html b/ReyMotaAppsDj/reymota/templates/base.html index 849a901..dfba4e8 100644 --- a/ReyMotaAppsDj/reymota/templates/base.html +++ b/ReyMotaAppsDj/reymota/templates/base.html @@ -97,7 +97,7 @@ - Aplicaciones + Aplicaciones propias @@ -112,6 +112,33 @@ + + {% endif %} diff --git a/ReyMotaAppsDj/reymota/templates/index.html b/ReyMotaAppsDj/reymota/templates/index.html new file mode 100644 index 0000000..a3641f6 --- /dev/null +++ b/ReyMotaAppsDj/reymota/templates/index.html @@ -0,0 +1,33 @@ +{% extends 'base.html' %} + +{% block menuapp %} + +{% include 'libros/_menu-libros.html' %} + +{% endblock menuapp %} + +{% block content %} + +
+ +

Introducción

+ + + +
+ +{% endblock %}