Opened 12 years ago

Closed 12 years ago

#16045 closed Uncategorized (duplicate)

Change history admin page not showing custom names for field in change history

Reported by: jacobwolf@… Owned by: nobody
Component: Uncategorized Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


In the writing your first Django app tutorial part 2, once I update the date published field to today and now and view the change history, it states that I "changed pub_date" rather than "changed date published" even though the custom name is defined in my file as shown below. Why is this and how do I change it?

from django.db import models
import datetime

class Poll(models.Model):

question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
def unicode(self):

return self.question

def was_published_today(self):

return ==

class Choice(models.Model):

poll = models.ForeignKey(Poll)
choice = models.CharField(max_length=200)
votes = models.IntegerField()
def unicode(self):

return self.choice

Change History (1)

comment:1 Changed 12 years ago by Ramiro Morales

Resolution: duplicate
Status: newclosed

duplicate of #12952

Note: See TracTickets for help on using tickets.
Back to Top