From a051772b85624632771c65b41ad42df452978d94 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 15 Jul 2005 16:52:08 +0000 Subject: [PATCH] Changed mentions of CMS to Django in django.core xheaders and exceptions git-svn-id: http://code.djangoproject.com/svn/django/trunk@55 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/exceptions.py | 4 ++-- django/core/xheaders.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/django/core/exceptions.py b/django/core/exceptions.py index 416fdf219d..68036f2d7f 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 ec03826ea9..80210a25a0 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. :) """