~cr3/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lp/results/context_processors.py

  • Committer: Marc Tardif
  • Date: 2010-12-07 01:16:17 UTC
  • Revision ID: marc.tardif@canonical.com-20101207011617-cqcv0240ca3cs5ba
Added TestStat for statistics about test runs and TestRank for ranking of projects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
def auth(request):
16
16
    """
17
 
    Returns context variables required by apps that use Django's authentication
18
 
    system.
 
17
    Returns context variables required by apps that use Django's
 
18
    authentication system.
19
19
    """
20
20
    user = getattr(request, "user", Anonymous())
21
21
    return {