Re: templates: override inner nested block

2015-05-25 Thread anentropic
Hmm, I can't reproduce the problem I described above, either with your code example or my own full code. Must be my own error. Apologies for the time wasting! On Monday, 25 May 2015 11:05:57 UTC+1, Stephen Butler wrote: > > On Sun, May 24, 2015 at 6:28 AM, anentropic <pa...@bl

templates: override inner nested block

2015-05-24 Thread anentropic
Currently there is a problem (correct me if wrong) when you need to override the content of an inner nested block. {% block parent %} some stuff {% block child %} child stuff {% endblock %} some other stuff {% endblock %} if you are in a template which extends the one above and you

Re: FileFields and file ownership

2009-10-21 Thread anentropic
Just dropping by to add my support for adding this functionality. At the moment it doesn't seem consistent that you automatically delete the file when you delete a model (...what if something else was using it?!) but don't do the same when uploading a new file to the same field. It should be