fix title field filling
This commit is contained in:
parent
5b245c77b0
commit
6ab38cc7fc
|
@ -202,8 +202,8 @@ class EndpointView(View, SingleObjectMixin):
|
|||
formdata = {}
|
||||
for f, k in fields_mapping.iteritems():
|
||||
if f == 'title':
|
||||
d = titles[user.get(f)]
|
||||
formdata['%s_raw' % k] = titles[user.get(f)]
|
||||
d = user.get(f)
|
||||
formdata['%s_raw' % k] = user.get(f)
|
||||
elif f == 'contact_mode':
|
||||
d = contact_mode[data.get(f)]
|
||||
formdata['%s_raw' % k] = str(data.get(f))
|
||||
|
|
Reference in New Issue