F
F
Foolkiller2021-04-13 09:42:42
Django
Foolkiller, 2021-04-13 09:42:42

How to get the time on the user's device using Django?

I want to implement theme switching on the site depending on the time of day for the user.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Tikhonov, 2021-04-14
@tumbler

A trashy and wrong option - based on GeoIP. In general, yes, get local time from the client and that's it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question