If we're passed in None, don't try to get the domain name out of it.
- Legacy-Id: 260
This commit is contained in:
parent
3cd72bc1fe
commit
2d9cc036a6
|
@ -52,7 +52,7 @@ class ListReqStep1(forms.Form):
|
|||
return field.as_widget(field.field.widget)
|
||||
def __init__(self, *args, **kwargs):
|
||||
dname = 'ietf.org'
|
||||
if args:
|
||||
if args and args[0]:
|
||||
dn = 'domain_name'
|
||||
if kwargs.has_key('prefix'):
|
||||
dn = kwargs['prefix'] + '-' + dn
|
||||
|
|
Loading…
Reference in a new issue