diff --git a/django/core/exceptions.py b/django/core/exceptions.py index 416fdf219dd..68036f2d7f2 100644 --- a/django/core/exceptions.py +++ b/django/core/exceptions.py @@ -1,4 +1,4 @@ -"Global CMS exceptions" +"Global Django exceptions" from django.core.template import SilentVariableFailure @@ -23,4 +23,4 @@ class ViewDoesNotExist(Exception): class MiddlewareNotUsed(Exception): "This middleware is not used in this server configuration" - pass \ No newline at end of file + pass diff --git a/django/core/xheaders.py b/django/core/xheaders.py index ec03826ea90..80210a25a09 100644 --- a/django/core/xheaders.py +++ b/django/core/xheaders.py @@ -1,10 +1,10 @@ """ -Some pages in our CMS are served up with custom HTTP headers containing useful -information about those pages -- namely, the contenttype and object ID. +Pages in Django can are served up with custom HTTP headers containing useful +information about those pages -- namely, the content type and object ID. This module contains utility functions for retrieving and doing interesting things with these special "X-Headers" (so called because the HTTP spec demands -that custom headers are prefxed with "X-".) +that custom headers are prefxed with "X-"). Next time you're at slashdot.org, watch out for X-Fry and X-Bender. :) """