Opened 17 years ago
Last modified 16 years ago
#6853 closed
Change history shows value stored instead of human readable string on choices fields at adding — at Initial Version
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | newforms-admin |
Severity: | Keywords: | choices nfa-fixed | |
Cc: | Triage Stage: | Fixed on a branch | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
class Detalle_Visita(models.Model):
OFERTAS = (
(1, 'ARQUEOLOGIA (guia)'),
(2, 'BELLAS ARTES (guia)'),
(3, 'TIA NORICA (guia)'),
(4, 'TODO EL MUSEO (guia)'),
(5, 'ARQUEOLOGIA'),
(6, 'BELLAS ARTES'),
(7, 'TIA NORICA'),
(8, 'TODO EL MUSEO'),
)
detalle_visita = models.ForeignKey(Visita,edit_inline=models.TABULAR,max_num_in_admin=3,num_extra_on_change=3)
oferta = models.PositiveSmallIntegerField(verbose_name="Area a visitar",max_length=2,choices=OFERTAS,core=True)
This misbeahiour happens only at adding, not at deleting
March 21, 2008, 2:40 p.m. administrador Deleted Itinerario visita "ARQUEOLOGIA (guia)".
March 21, 2008, 2:40 p.m. administrador Added Itinerario visita "2".