On Aug 1, 9:10 am, Anthony <abasta...@gmail.com> wrote:
> On Monday, August 1, 2011 6:23:03 AM UTC-4, Ramos wrote:
>
> > this way works
>
> > auth.settings.extra_fields['auth_user'] = [Field('Skype')]
>
> Yes, this will create auth.settings.extra_fields['auth_user']. Once created,
> you should be able to add additional fields via append().
>
> Anthony

If you are trying to append to a list, or create it if it's not
present, don't
you want to do it this way?

try:
   auth.settings.extra_fields['auth_user'].append(Field('Skype'))
except:
   auth.settings.extra_fields['auth_user'] = [Field('Skype')]

Rufus

Reply via email to