School is a twelve-year jail sentence where bad habits are the only curriculum truly learned.
John Taylor Gatto
"Edit your settings.py file
"Edit your settings.py file to include django.middleware.http.SetRemoteAddrFromForwardedFor in MIDDLEWARE_CLASSES. This allows your Django application to use the real IP address of the client instead of 127.0.0.1 from your nginx proxy. It sets Django's request.META['REMOTE_ADDR'] to be request.META['HTTP_X_FORWARDED_FOR'] which we set above in nginx's proxy.conf."
Source: http://www.saltycrane.com/blog/2009/04/notes-using-nginx-mod_python-and-...
Wed, 2009-07-29 07:50 — Nick
Also visit
Other Resources
- Cloud based Task Management Software
- Top rated project scheduling software
- Daniel E Straus Aveta
www.flickr.com
This is a Flickr badge showing public photos and videos from alexisbellido. Make your own badge here.

Recent comments
3 days 2 hours ago
3 days 17 hours ago
6 days 12 hours ago
6 days 19 hours ago
4 weeks 6 days ago
5 weeks 6 hours ago
11 weeks 16 hours ago
12 weeks 1 day ago
14 weeks 29 min ago
18 weeks 8 hours ago