Hello, 

I am using django to create rest api with django-rest-framework. I will not 
use its template system. My database backend is PostgreSQL where I set 
client_encoding to UTF8 and timezone to UTC. In settings.py there are 
options like USE_I18N, USE_L10N and USE_TZ. Do I need them? 
I don't understand what doc says about them , because I haven't seen what 
they do in practice. I think that in my case it is the best to store 
datetime in UTC and client will convert it to locale. Is this good approach?

Thanks in advance,
Tobias


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3727cf96-98b2-4bd9-9de4-b8c7657e5b23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to