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

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

src/b/o/boar-HEAD/boar/accounts/views.py   boar(Download)
from boar.accounts.forms import UserForm
from boar.common.response import JsonResponse
from boar.facebook_connect.decorators import login_required
from boar.mailing_lists.forms import MailingListsForm
from boar.uploads.models import Image
        for k in ('username', 'first_name', 'last_name', 'is_staff'):
            d['user'][k] = getattr(request.user, k)
    return JsonResponse(d)