On 8 Sep 2009, at 14:00 , Maksymus007 wrote: I tried following code > > from django.conf import settings > > ... > > > a = setting.MY_OWN_VARIABLE=2 You probably shouldn't set settings variables at runtime. And by "probably" I mean "really". Use getattr instead if you need "default value in case the setting isn't defined".
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

