June 6, 2013 -
When it comes to Django everyone has their own way of structuring a project. The default layout when running startproject is reasonable for smaller projects, but it quickly gets messy when those projects grow. Two Scoops of Django has a whole chapter on the subject, but rightfully states that no two developers would structure their project in the same way. The default project structure of ...
July 16, 2009 -
So we had some issues using django-piston (a webservice framework for Django) in combination with HTTP Basic authorization. By default both Squid and mod_wsgi will not forward the HTTP_AUTHORIZATION headers to the next layer. So if you have a wsgi application that does its own authorization you need to do the following: In your squid.conf you need to add the login=PASS to the cache_peer entries ...