Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/o/boar-HEAD/boar/accounts/views.py   boar(Download)
        ml_form = MailingListsForm(request.POST, prefix='ml_')
        if user_form.is_valid() and ml_form.is_valid():
            user_form.save()
            if 'mailing_lists' in ml_form.cleaned_data:
                request.user.mailing_lists = ml_form.cleaned_data['mailing_lists']