Re: runserver ignoring SCRIPT_NAME?

2013-10-13 Thread Noah Kantrowitz
SCRIPT_NAME is not an HTTP header, it cannot be sent from nginx to your runserver since it is only part of the CGI/WSGI environment, not the headers. That said you could still add a command line option to set SCRIPT_NAME within runserver, but that's slightly different than what you described I t

Re: Specifying lists/tuples in models - wtf?

2013-06-05 Thread Noah Kantrowitz
On Jun 5, 2013, at 12:56 PM, Cal Leeming [Simplicity Media Ltd] wrote: > Hello, > > The following; > class Meta: > ordering = ('hostname') > > Results in; > amber.reseller: "ordering" refers to "h", a field that doesn't exist. > amber.reseller: "ordering" refers to "o", a field that