#16045: Change history admin page not showing custom names for field in change history ---------------------------+------------------------------- Reporter: jacobwolf@… | Owner: nobody Type: Uncategorized | Status: new Milestone: | Component: Uncategorized Version: 1.3 | Severity: Normal Keywords: | Triage Stage: Unreviewed Has patch: 0 | Easy pickings: 0 ---------------------------+------------------------------- 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 models.py 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 self.pub_date.date() == datetime.date.today() class Choice(models.Model): poll = models.ForeignKey(Poll) choice = models.CharField(max_length=200) votes = models.IntegerField() def __unicode__(self): return self.choice -- Ticket URL: <http://code.djangoproject.com/ticket/16045> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.