On Feb 15, 2007, at 10:30 AM, Jakub Labath wrote: > Hi, > > Thanks, but that is not what I'm looking for. > > I need to find out at runtime from within my code. Something like.
Since, you can't change modes during runtime, I would set an environment variable when you start the server and test for that in your code. Don --~--~---------~--~----~------------~-------~--~----~ 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 group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---