~dylanmccall/harvest/gsoc-client-stuff

« back to all changes in this revision

Viewing changes to harvest/settings.py

  • Committer: Dylan McCall
  • Date: 2010-07-04 20:31:12 UTC
  • Revision ID: dylanmccall@gmail.com-20100704203112-njszrm9j4gn0grq0
Added timer middleware, which adds a request header saying how long a page took to generate.

Added a little hack in harvest.js to display that header after loading new results with XHR.

Made some more text translatable in harvest/templates/base.html.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    'django.contrib.sessions.middleware.SessionMiddleware',
75
75
    'django.contrib.auth.middleware.AuthenticationMiddleware',
76
76
    'django.middleware.locale.LocaleMiddleware',
 
77
    'harvest.common.middleware.timer.TimerMiddleware',
77
78
    'debug_toolbar.middleware.DebugToolbarMiddleware', #for testing
78
79
)
79
80