Re: delegating our static file serving

2016-01-17 Thread Curtis Maloney
I should probably finish off my toy working on the same lines... but introducing my earlier comments about per-source paths and permissions mixins... Very much a WIP, but I'm sure you'll see the idea: https://gist.github.com/funkybob/a89c10e24716a4ce55cf -- C On 18/01/16 09:58, Gordon wrote:

Re: delegating our static file serving

2016-01-17 Thread Gordon
I put together a simple django middleware based off the functionality of whitenoise except that it uses the staticfiles storage for finding/serving files. I am sure there are lots of improvements to be made on it but it demonstrates using the filestorage api to accommodate remote static files.

SchemaEditor: Alter Default requires column definition

2016-01-17 Thread Max Bothe
Hi all, Some databases (like SAP HANA) don't support adding or removing a default value of a column without redefining the column [1]. In order to support custom backends for these databases, the column definition has to be passed additionally to the format strings sql_alter_column_default and

Referencing squashed migrations

2016-01-17 Thread Jarek Glowacki
Greetings, Django does not currently support designating unapplied squashed migrations as dependencies. This feels like bad behaviour, especially since `makemigrations` will reference a squashed migration by default if it has already been applied locally. I've made a ticket

Bug in filtering related objects?

2016-01-17 Thread orobalage
Hi, I noticed some strange behaviour when filtering related objects through a many to many relation. I posted a complete example in django-users, but I got no reply, and I think the issue is perhaps more related to django development than usage, as I have the impression that it is a bug. Here i