Did I find the right examples for you? yes no

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

src/s/t/statusboard-HEAD/statusboard/core/views.py   statusboard(Download)
        except User.DoesNotExist:
            user = User.objects.create(username=request.session['name'], password='', email='')
    settings, settings_created = Settings.objects.get_or_create(user=user, authenticated=request.user.is_authenticated(), defaults={'grid': default_grid})
    request.grid = settings.grid
    request.statusboard_user = user