I frequently use the `verbose_name` attribute of a model field to control how the field appears in the Django Admin and Browsable API. However, I have encounter a single situation where it does not work. Here is a partial listing of my model code:
from django.db import models class TimeFramedModel(models.Model): when_started = models.DateTimeField(null=False, blank=False, verbose_name='started', db_index=True) when_ended = models.DateTimeField( null=False, blank=False, verbose_name ='ended') class Meta: abstract = True # etc. But, in the DRF Browable API, I see this for the entry fields when the model details are displayed: [image: Browsable API snapshot.jpg] Notice that the `when_ended` field correctly appears as "Ended", but the `when_started` field appears as "When started", not "Started". This behavior does not happen in the Django Admin views — the fields correctly appear as "Started" and "Ended". Could this possibly be a bug in the Browsable API code, or am I doing something wrong? The only difference in this situation from other situations that work correctly is that the field is also explicitly indexed. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/b31dd9f8-5ec0-46b8-b5ef-51c48846eef8%40googlegroups.com.