bug fix birth date
This commit is contained in:
@@ -418,9 +418,11 @@ class RegistrationFormSex(RegistrationFormUniqueEmail):
|
||||
('hwt','heavy-weight'),
|
||||
('lwt','light-weight'),
|
||||
)
|
||||
|
||||
thisyear = timezone.now().year
|
||||
|
||||
birthdate = forms.DateTimeField(
|
||||
widget=SelectDateWidget(),
|
||||
widget=SelectDateWidget(years=range(1900,thisyear)),
|
||||
initial = datetime.date(year=1970,
|
||||
month=4,
|
||||
day=15))
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% load staticfiles %}
|
||||
{% load rowerfilters %}
|
||||
{% block title %}Contact Us{% endblock title %}
|
||||
{% block meta %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user