You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't be the first person to ask this...I feel like I'm having a brain cramp.
class Profile(models.Model):
timezone = TimeZoneField(default="America/New_York")
class ProfileForm(forms.ModelForm):
class Meta:
model = Profile
fields = ['timezone']
I get the list of timezones in a nice drop-down when I show my form, but they're in a random(?) order. How can I get them sorted?
The text was updated successfully, but these errors were encountered:
The time zones are sorted by GMT from GMT-12:00 to GMT+14:00. But there are many, for example, there is over a page of GMT+01:00 in the drop down, and the Region/City shown next to the GMT offset are all in random order.
I can't be the first person to ask this...I feel like I'm having a brain cramp.
I get the list of timezones in a nice drop-down when I show my form, but they're in a random(?) order. How can I get them sorted?
The text was updated successfully, but these errors were encountered: