2👍
✅
Maybe you can use the ModelAdmin.formfield_overrides like this:
class Feedback(models.Model):
created_at = models.DateTimeField()
class Meta:
verbose_name = 'Feedback'
verbose_name_plural = 'Feedbacks'
def __unicode__(self):
return u'%s' % (self.created_at)
class FeedbackAdmin(admin.ModelAdmin):
formfield_overrides = {
models.DateTimeField: {'input_formats': ('%d/%m/%Y',)},
}
Source:stackexchange.com