Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ingresar.html #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

beluarroyo
Copy link
Contributor

Vincule este template con la base.html

Vincule este template con la base.html
@@ -1,4 +1,5 @@

{% extends "base.html" %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esto está ok, es la manera de extender.

pero lo idea de extender implica que en los templates "hijos" como este no reescribimos todo el html sino solo algunos "bloques". en este caso no estas haciendo eso y en vez de "heredar" toda la estructura <html> de base.html la estas redefiniendo. probaste como se ve en el navegador?

fijate los templates de mentemaestra que sólo se redefine el bloque {% block content %}

@mgaitan mgaitan mentioned this pull request Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants