Kaydet (Commit) a09c0589 authored tarafından Frank Wiles's avatar Frank Wiles Kaydeden (comit) Tim Graham

Fixed import typos in the docs.

üst 9c522d2e
...@@ -253,6 +253,7 @@ answer newbie questions, and generally made Django that much better: ...@@ -253,6 +253,7 @@ answer newbie questions, and generally made Django that much better:
Francisco Albarran Cristobal <pahko.xd@gmail.com> Francisco Albarran Cristobal <pahko.xd@gmail.com>
Frank Tegtmeyer <fte@fte.to> Frank Tegtmeyer <fte@fte.to>
Frank Wierzbicki Frank Wierzbicki
Frank Wiles <frank@revsys.com>
František Malina <fmalina@gmail.com> František Malina <fmalina@gmail.com>
Fraser Nevett <mail@nevett.org> Fraser Nevett <mail@nevett.org>
Gabriel Grant <g@briel.ca> Gabriel Grant <g@briel.ca>
......
...@@ -252,7 +252,7 @@ Methods ...@@ -252,7 +252,7 @@ Methods
behind multiple proxies. One solution is to use middleware to rewrite behind multiple proxies. One solution is to use middleware to rewrite
the proxy headers, as in the following example:: the proxy headers, as in the following example::
from django.django.utils.deprecation import MiddlewareMixin from django.utils.deprecation import MiddlewareMixin
class MultipleProxyMiddleware(MiddlewareMixin): class MultipleProxyMiddleware(MiddlewareMixin):
FORWARDED_FOR_FIELDS = [ FORWARDED_FOR_FIELDS = [
......
...@@ -178,7 +178,7 @@ Add the following middleware to :setting:`MIDDLEWARE`:: ...@@ -178,7 +178,7 @@ Add the following middleware to :setting:`MIDDLEWARE`::
import pytz import pytz
from django.utils import timezone from django.utils import timezone
from django.django.utils.deprecation import MiddlewareMixin from django.utils.deprecation import MiddlewareMixin
class TimezoneMiddleware(MiddlewareMixin): class TimezoneMiddleware(MiddlewareMixin):
def process_request(self, request): def process_request(self, request):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment