Jquery library update in django 1.4

2012-02-28 Thread Ric
hi, is it possibile to upgrade the jquery library in admin to the lastest version with the now django 1.4? for what i've seen there is just one little bug when you use the select all checkbox in admin changelist, all other javascript works out of the box -- You received this message because you

Re: make the File Storage API works with a file-like object instead of the Django File object.

2012-02-28 Thread Paul McMillan
This ticket is related to the issue: https://code.djangoproject.com/ticket/16946 -Paul On Tue, Feb 28, 2012 at 3:29 PM, Jonathan French wrote: > You can create a Django file object from any file-like object just by > passing it to the constructor. > > django.core.files.File(my_file_like_object

Re: make the File Storage API works with a file-like object instead of the Django File object.

2012-02-28 Thread Jonathan French
You can create a Django file object from any file-like object just by passing it to the constructor. django.core.files.File(my_file_like_object) This is basically what all the storage backends do where there is an existing file object from whatever source, and what you have to do if you want to s

make the File Storage API works with a file-like object instead of the Django File object.

2012-02-28 Thread Michael
Hi, The File Storage API only works with the Django File object (https:// docs.djangoproject.com/en/1.3/ref/files/storage/ ; https://docs.djangoproject.com/en/1.3/ref/files/file/). Wouldn't it be a good idea to make a Django file-like object instead and make the Storage API works with it ? That wa

Re: Newline stripping in templates: the dnl way

2012-02-28 Thread Tai Lee
On Feb 29, 8:15 am, Leon Matthews wrote: > Would it be feasible to add some logic, something along the lines of: > > "Template lines containing just tags with no literal content do not > produce a line in the output  (unless of course the tag itself > produces one)" I believe that is what has b

Re: Newline stripping in templates: the dnl way

2012-02-28 Thread Leon Matthews
> Django templates are useful (and used) for all sorts of text-based > formats. For some of these, an exact control over whitespace is needed > throughout the entire file (eg. text/plain), Agreed. When I started using Django templates I was very surprised at the output I was seeing. After a whil

Re: Revisiting multiline tags

2012-02-28 Thread Anssi Kääriäinen
On Feb 28, 11:05 pm, Nick Phillips wrote: > On Fri, 2012-02-24 at 08:27 -0700, Carl Meyer wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > On 02/23/2012 11:29 PM, Russell Keith-Magee wrote: > > > This thread contains 6 people expressing support for this change, and > > > 2 agains

Re: Revisiting multiline tags

2012-02-28 Thread Nick Phillips
On Fri, 2012-02-24 at 08:27 -0700, Carl Meyer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 02/23/2012 11:29 PM, Russell Keith-Magee wrote: > > This thread contains 6 people expressing support for this change, and > > 2 against (a BDFL, a core developer) -- and you can add me to

Re: override_settings with dynamic model creation

2012-02-28 Thread Λlisue
Well really? I didn't notice. Is there any documentation for that or not available yet? I couldn't find any documentations or source code for it. Anyway that is really nice :-) Thanks! Alisue (2012年02月28日 18:08), Mikhail Korobov wrote: > Hi Alisue, > > Django already have a way to create model

Re: override_settings with dynamic model creation

2012-02-28 Thread Mikhail Korobov
Hi Alisue, Django already have a way to create models only for tests: put model definitions to tests.py. Such models will be available in tests but won't be created with ./manage.py syncdb. вторник, 28 февраля 2012 г. 9:11:25 UTC+6 пользователь Alisue написал: > > (2012年02月28日 01:34), Florian A