[Django]-How to get SelectDateWidget in Django to show different "Year" options

10👍

You can pass years argument wiith list of years in any order. For example

SelectDateWidget(years=range(1950, 2012))

Leave a comment