a-roomana / django-jalali-date

Jalali Date support for user interface. Easy conversion of DateTimeFiled to JalaliDateTimeField within the admin site, views, forms and templates.
MIT License
291 stars 33 forks source link

add document for DRF #66

Closed iam-benyamin closed 1 year ago

iam-benyamin commented 1 year ago

Added documentation for using the Django Rest Framework internal library

a-roomana commented 1 year ago

if you want to show the Jalali date on JSON response then you should use datetime2jalali. you can see some examples of using it in the documentation.

if you want to receive the Jalali date on Json request then you should parse the input and use jDatetime as a dependency of django-jalali-date

if you have any question/suggestion please tell me.

iam-benyamin commented 1 year ago

Thank you for your answer

jdatetime gets me started

And I don't have any questions/suggestions

thanks