I18n when using standalone templates

2008-12-22 Thread Iwan
When you add i18n to this mix, however, how do you set the language to be used when rendering? Can you put something into the context? Thanks - Iwan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Re: I18n when using standalone templates

2008-12-22 Thread Iwan
. You should call that as early as possible in the processing > pipeline once you know the right locale value. Thanks. Is this thread-safe? I looked at the code in trans_real.py (def activate), and from my understanding it is not thread-safe, since it acc

Template re-use

2007-02-22 Thread Iwan
Hi there, I'd like to use Django's templating stuff in a project (stand alone). But I have a strange requirement... Which may be useful to others too. I was wondering if there's any way one could do it currently: Usually, in a basic scenario, you can have, say, a basic template for an entire s

Bug? RadioWidget does not render its attrs

2007-04-18 Thread Iwan
Hi there, It does not seem that this has been reported previously --- it seems that RadioWidget does not render its HTML attributes passed in via attrs. This is django.newforms.widgets.RadioWidget in the svn branch http://code.djangoproject.com/svn/django/trunk (revision 5023). So, if you have

Re: I18n when using standalone templates

2009-01-03 Thread Iwan Vosloo
On Sat, 2009-01-03 at 13:23 +1100, Malcolm Tredinnick wrote: > Dictionary updates are safe in Python. Oh, I see, because of the GIL... Thanks. -i --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Using a webservice as the datasource

2006-08-30 Thread Iwan Memruk
with Django? How would you estimate the effort necessary for adapting Django to use webservices as the data source? What would be your approach? -- Thanks,Iwan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

A combined django + apache + mod_python distro

2006-08-31 Thread Iwan Memruk
of Django. What do you guys think? -- Iwan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this g

Re: A combined django + apache + mod_python distro

2006-08-31 Thread Iwan Memruk
g of a www.colinux.org package with this configuration.May be this would be nice, too. Or Linux on a stick as django server to handout a customer specific offline catalogue on a nifty usb-stick (*sigh*). Am Donnerstag, 31. August 2006 10:31 schrieb Iwan Memruk:> Another question: is there somet

Re: Using a webservice as the datasource

2006-08-31 Thread Iwan Memruk
te: On 8/31/06, Iwan Memruk <[EMAIL PROTECTED]> wrote:> Hi,>> Has anyone got any experience of doing that with Django? How> would you estimate the effort necessary for adapting Django to use > webservices as the data source? What would be your approach?  I am using Django with th

Confirmation email during user registration?

2006-08-31 Thread Iwan Memruk
And yet one more question.Has someone ever enabled Django to send a confirmation email during user registration?-- Iwan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Confirmation email during user registration?

2006-08-31 Thread Iwan Memruk
Thanks. I will dig that.On 8/31/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: On 31-Aug-06, at 6:18 PM, Iwan Memruk wrote:> And yet one more question.> Has someone ever enabled Django to send a confirmation email during> user registration?yes-- regardskghttp://lawgon.live

Re: Confirmation email during user registration?

2006-08-31 Thread Iwan Memruk
Thanks zenx!I've just passed my 'aha!' stage of Django learning, and I somehow got to know how to do that thing and many other things too. In fact, I feel like I can do anything with Django now. :) On 8/31/06, zenx <[EMAIL PROTECTED]> wrote: Iwan, take a look at this too:h

Re: How to use Django as a web interface for another program?

2006-09-05 Thread Iwan Memruk
d.What do u think about it?  Is any better choices?-- Iwan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe