Update configuration.rst (#5576)

pull/5581/head
Dawn Wages 2019-09-22 20:01:28 +01:00 zatwierdzone przez Matt Westcott
rodzic e87dcaf015
commit 1b2dadc429
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -405,6 +405,7 @@ Contributors
* Kiril Staikov * Kiril Staikov
* Saptak Sengupta * Saptak Sengupta
* Dawid Bugajewski * Dawid Bugajewski
* Dawn Wages
Translators Translators
=========== ===========

Wyświetl plik

@ -159,7 +159,7 @@ JSON format. You can override the serialiser for any field using the
api_fields = [ api_fields = [
# Change the format of the published_date field to "Thursday 06 April 2017" # Change the format of the published_date field to "Thursday 06 April 2017"
APIField('published_date', serializer=DateField(format='%A $d %B %Y')), APIField('published_date', serializer=DateField(format='%A %d %B %Y')),
... ...
] ]