Skip to content

Instantly share code, notes, and snippets.

@fhdez
Created September 4, 2018 14:31
Show Gist options
  • Save fhdez/ec71fd1887b57f5757287c83799f3220 to your computer and use it in GitHub Desktop.
Save fhdez/ec71fd1887b57f5757287c83799f3220 to your computer and use it in GitHub Desktop.
# Se agrega field de control de Meds de nuevo modelo Educativo
is_nuevomodelo = models.BooleanField(
default=False,
verbose_name=u'MED nuevo modelo Educativo'
)
# Se agrega field para el nuevo modelo Educativo
aprendizajeesperado = models.ForeignKey(
'nuevomodelo.AprendizajeEsperadoNME',
related_name='meds',
null=True, blank=True
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment