I have a UserSerializer class in the django rest framework and the user has a timezone field. Add a validate\_timezone method that checks that the supplied value is in the TIMEZONE\_CHOICES global variable
user
{"source": "ewof/sharegpt-instruct-unfiltered-deduped", "kind": "human", "evolved_from": null}
I have a UserSerializer class in the django rest framework and the user has a timezone field. Add a validate\_timezone method that checks that the supplied value is in the TIMEZONE\_CHOICES global variable
user
DUMMY RESPONSE
assistant