Hi,

I have a car model that contains many fields including a 'year' field. I 
need the dropdown for this field to display the current year as the first 
option and also display the previous 25 years as individual options.

I was thinking i could create a list object and then populate the list 
based on the current year and work my way back to 25 years earlier.

I am not sure how to implement this so it would work in the Django admin 
area.

Could someone please point me in the right direction with this ?

Thank you in advance.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/NUO22GxW7UEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to