FIX: dav_registration: disabled form initials that were used for
development.
This commit is contained in:
@@ -66,17 +66,16 @@ class RegistrationView(generic.CreateView):
|
|||||||
model = Registration
|
model = Registration
|
||||||
form_class = RegistrationForm
|
form_class = RegistrationForm
|
||||||
initial = {
|
initial = {
|
||||||
'personal_names': 'Jens',
|
# 'personal_names': u'Jens',
|
||||||
'family_names': 'Kleineheismann',
|
# 'family_names': u'Kleineheismann',
|
||||||
'address': 'Marie-Alexandra-Str. 6',
|
# 'address': u'Am Fächerbad 2',
|
||||||
'postal_code': '76135',
|
# 'postal_code': u'76131',
|
||||||
'city': 'Karlsruhe',
|
# 'city': u'Karlsruhe',
|
||||||
'email_address': 'heinzel@heinzelwerk.de',
|
# 'email_address': 'heinzel@alpenverein-karlsruhe.de',
|
||||||
'phone_number': '0178 143 2886',
|
# 'note': u'Nur ein Test.',
|
||||||
'note': 'Nur ein Test.',
|
'dav_number': '131/00/',
|
||||||
'dav_number': '131/00/007',
|
# 'experience': u'Ich kann alles.',
|
||||||
'experience': 'Ich kann alles.',
|
# 'privacy_policy_accepted': True,
|
||||||
'privacy_policy_accepted': True,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user