Re: minify static files (css and js)

2011-08-08 Thread Alexander Schepanovski
I prefer webassets. You may also look into. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr..

[GSoC composite fields] Weekly check-in #12 (Eh, is it that late already?)

2011-08-08 Thread Michal Petrucha
My first attempt at auxiliary field creation ended up worse than expected, it turned out I had to iron out a few other issues, like concrete model inheritance. Anyway, I also encountered a problem with ForeignKeys whose target field is also a ForeignKey. The latter has to be set up first in this c

Re: Improvements to better support implementing optimistic concurrency control

2011-08-08 Thread Steven Cummings
I don't think we're talking about new or specific fields as part of the base implementation here. Just enhanced behavior around updates to: 1) Provide more information about the actual rows modified 2) Check preconditions with the actual DB stored values; and 3) Avoid firing post-update/delete sig

Re: Improvements to better support implementing optimistic concurrency control

2011-08-08 Thread akaariai
On Aug 8, 6:30 pm, Steven Cummings wrote: > For backward compatibility, there may be a Model sub-class that would leave > Model alone altogether (this was suggested on the ticket). This seems fair > since many seem to be getting by without better optimistic concurrency > control from Django's ORM

Re: Improvements to better support implementing optimistic concurrency control

2011-08-08 Thread Steven Cummings
For backward compatibility, there may be a Model sub-class that would leave Model alone altogether (this was suggested on the ticket). This seems fair since many seem to be getting by without better optimistic concurrency control from Django's ORM today. -- Steven On Mon, Aug 8, 2011 at 9:40 AM,

Re: Improvements to better support implementing optimistic concurrency control

2011-08-08 Thread akaariai
On Aug 8, 4:54 pm, Steven Cummings wrote: > Interesting feature I hadn't noticed in memcached. That does seem like it > would do the trick where memcached is being used. I think the ability to > control it in Django would generally still be desirable though, as that is > where the data ultimately

Re: [RFC] Improvements to better support implementing optimistic concurrency control

2011-08-08 Thread Steven Cummings
Interesting feature I hadn't noticed in memcached. That does seem like it would do the trick where memcached is being used. I think the ability to control it in Django would generally still be desirable though, as that is where the data ultimately lives and I'd be hesitant to assume to control the

RFC: staticfiles "static" template tag and CachedStaticFilesStorage

2011-08-08 Thread Jannis Leidel
Hi all, I believe I'm getting close to a fix for #15252 which would add a bunch of new features to the staticfiles contrib app. I'd appreciated it if someone would review the latest patch at https://code.djangoproject.com/ticket/15252 ``static`` template tag --- The purp

Re: minify static files (css and js)

2011-08-08 Thread Jonathan Slenders
This one is a more powerful compressor, but does not easily work out of the box on every website: https://github.com/citylive/django-template-preprocessor I personally think there are too many ways of minifying content. Minifying is about making assumptions about what information in the files you