Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(2) | Derive(0) | Import(0)
src/p/g/pgBoardUnchained-HEAD/board/views.py pgBoardUnchained(Download)
def profile(request, pk): user = User.objects.get(id=pk) profile = UserProfile.objects.get(user=user) return render_to_response("profile.html", dict(user=user, profile=profile))
session = Session.objects.get(session_key=request.POST.get('sessionid')) user_id = session.get_decoded().get('_auth_user_id') user = User.objects.get(id=user_id) # Create post, I was getting thread because I've yet to figure out how to pass it in to this