Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-06-14 Thread Joseph Kocherhans
On 6/9/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 6/8/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > I'm most of the way there. Basically just template stuff and a little > > bit of ModelAdmin code is left. I got stuck a few times keeping this > > stuff usable outside the admin, a

Re: daily_cleanup.py and sessions expire_date

2007-06-14 Thread Nick
On Jun 14, 3:53 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2007-06-14 at 04:36 +, Nick wrote: > > A couple of weeks ago I submitted a patch to use the model API to > > delete expired sessions from the database in the daily_cleanup script > > (Seehttp://code.djangoproject.com/t

Re: template rendering as iteration, instead of layered concatenation

2007-06-14 Thread Jacob Kaplan-Moss
On 6/14/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Whoops. :-( Yeah, I got stuck on that, too :) > To completely bulletproof this, you could add a metaclass to Node to > check that the Node subclass that is being created has a method called > either "render" or "iter_render" (or both).

Re: template rendering as iteration, instead of layered concatenation

2007-06-14 Thread Malcolm Tredinnick
On Thu, 2007-06-14 at 12:23 -0700, Brian Harring wrote: > Just filed ticket 4565, which basically converts template rendering > away from "build a string within this node of subnode results, return > it, wash rinse repeat", and into "yield each subnode chunk, and my > data as it's available". >

Re: configurable session age

2007-06-14 Thread Amit Upadhyay
On 6/14/07, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > > Updated API: added set_life to SessionWrapper. It takes an integer, number > of seconds for which the session should be valid. It can also take > django.contrib.session.models.TILL_BROWSER_CLOSE, that will quell the > session at the close of

Re: problems serving PDF file from view

2007-06-14 Thread [EMAIL PROTECTED]
On 14 июн, 22:09, Mikko Hellsing <[EMAIL PROTECTED]> wrote: > try this: 'inline; filename=filename.pdf' > ...that is to use inline instead of attachment we tried 'inline', too, and it does not work. Only solution which has been explained in original post fixed the problem, and our site works we

template rendering as iteration, instead of layered concatenation

2007-06-14 Thread Brian Harring
Just filed ticket 4565, which basically converts template rendering away from "build a string within this node of subnode results, return it, wash rinse repeat", and into "yield each subnode chunk, and my data as it's available". The pros of it are following (copy/pasting from the ticket): * i

Re: problems serving PDF file from view

2007-06-14 Thread Mikko Hellsing
try this: 'inline; filename=filename.pdf' ...that is to use inline instead of attachment --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop

Laptops giving chronic back pain to millions

2007-06-14 Thread CANE20043 ANAMIKA
* Laptops giving chronic back pain to millions Booming sales of laptops have led to a surge in the number of computer users with back and muscle problems, experts have warne * *FOR MORE INFORMATION LOG ON

Re: django translation feature missing (?)

2007-06-14 Thread Wolfram Kriesing
it gets even more difficult in languages like russian, where i think that a name depends on the linguistic case of the sentence it is used in ... wolfram On 6/14/07, Wolfram Kriesing <[EMAIL PROTECTED]> wrote: > yeah that is not really a nice way to do it, but the only possible one > currently.

Re: django translation feature missing (?)

2007-06-14 Thread Wolfram Kriesing
yeah that is not really a nice way to do it, but the only possible one currently. We were discussing this issue a lot here, and have not come up with a final nice syntax yet either, since there are a couple issues that come up, but they just come up when you run into them :-) On 6/14/07, Malcolm

Re: django translation feature missing (?)

2007-06-14 Thread Malcolm Tredinnick
On Thu, 2007-06-14 at 14:56 +0200, Wolfram Kriesing wrote: > but watch out, gettext doesnt like line breaks inside a blocktrans, i > only added them for readbility That's effectively a bug. Should be fixed at some point. It's been reported in Trac. Kind of takes the fun out of the "block" tag if

Re: django translation feature missing (?)

2007-06-14 Thread Malcolm Tredinnick
On Thu, 2007-06-14 at 05:36 -0700, alain D. wrote: > Hi again, > >I would be happy to know you're impressions about the above > explanation ... if I made my point clear or not, or if you have any > objection why this would not be a useful feature ... I understood your point. I haven't had ti

Re: Translation problem in javascript

2007-06-14 Thread Malcolm Tredinnick
Hi Karsu, On Thu, 2007-06-14 at 05:29 -0700, Karsu wrote: > Hello, > > Is it possible to get someone to check ticket: 3594 ;) > > http://groups.google.com/group/Django-I18N/browse_frm/thread/5b84713fa8d30953 Coincidentally, this is on my list of things I'm looking at; I started looking at all

Re: django translation feature missing (?)

2007-06-14 Thread Wolfram Kriesing
but watch out, gettext doesnt like line breaks inside a blocktrans, i only added them for readbility On 6/14/07, Wolfram Kriesing <[EMAIL PROTECTED]> wrote: > I understand Alans problem very well, the problem is that the text > "this has been done by user A-HREF" > is not always translated in

Re: django translation feature missing (?)

2007-06-14 Thread Wolfram Kriesing
I understand Alans problem very well, the problem is that the text "this has been done by user A-HREF" is not always translated in the same order of words for all the languages, so the "XXX" which is a link (in alains example) might be at some other position, like in german "Dies wurde von

Re: configurable session age

2007-06-14 Thread Amit Upadhyay
On 6/14/07, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > > After further staring at the code, I realize that there still is some > problem, if session is modified after the cookie is set, django will revert > the cookie to expire when browser closes. The only solution seems to be to > put the expires

Re: django translation feature missing (?)

2007-06-14 Thread alain D.
Hi again, I would be happy to know you're impressions about the above explanation ... if I made my point clear or not, or if you have any objection why this would not be a useful feature ... Regards, -- AD --~--~-~--~~~---~--~~ You received this message beca

Translation problem in javascript

2007-06-14 Thread Karsu
Hello, Is it possible to get someone to check ticket: 3594 ;) http://groups.google.com/group/Django-I18N/browse_frm/thread/5b84713fa8d30953 -Karsu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developer

REAL PLAYER is FREE and is considered the Best,Music Player Available Today !!

2007-06-14 Thread niku
Hi There, Real Player Update !! Now Real Player New Version is available for FREE. With Real Player, Transfer music to iPod and other portable media players.. www.chulbul.com/real.htm Have Fun --~--~-~--~~~---~--~~ You received this message because you are

MEDIA_ROOT for testing

2007-06-14 Thread shaunc
I'm currently migrating my testing to the new testing framework. Generally, very nice -- especially interaction with fixtures. One thing though: what about media? It would be nice to be able to have a TEST_MEDIA_ROOT which was cleaned and/or given some predefined content to go with various db ob