Re: weird memory error on Centos7

2020-03-27 Thread Wouter
I had the same issue yesterday with geodjango and this MemoryError and managed to find out it was caused by selinux. I wrote a custom selinux httpd policy, which took me a couple of iterations because after fixing one sealert I ran into the next. If you are still looking for a solution and inter

Re: Django system check gives error when storing method in variable

2015-03-29 Thread Wouter Miltenburg
uses the 'check' method, so it shouldn't be a real problem to remove that line. However, as I am not the original author of that code I am not aware of the user-base that might have dependencies with this method. Thank you for your quick response. Cheers, Wouter. Op zondag 29 maa

Django system check gives error when storing method in variable

2015-03-29 Thread Wouter Miltenburg
uot; from Django 1.7 doesn't handle function referencing in Python well (which used to be in Django 1.6). However, I am wondering if this is a more of a general problem in Django itself and if other users experience the same problem. Cheers, Wouter. -- You received this message because

Re: Internationalization (i18n) of model: request.LANGUAGE_CODE in __unicode__ and ordering?

2009-05-20 Thread Wouter van der Graaf
I could polish it and put in on > github too. Hi Kai, If your app changes the default ordering of the country list to the language in request.LANGUAGE_CODE (the user specified language) then that's a good option for me. Cheers, Wouter --~--~-~--~~~---~-

Re: Internationalization (i18n) of model: request.LANGUAGE_CODE in __unicode__ and ordering?

2009-05-20 Thread Wouter van der Graaf
Hope this subject gets some more exposure. I'm curious to know what is possible in using gettext for all dynamic database translations. Or should I wait till Marc Garcia has finished work on his Google Summer Of Code i18n project (http://vaig.be/2009/04/gsoc- implementation-of-additional-i18n.htm

Re: Internationalization (i18n) of model: request.LANGUAGE_CODE in __unicode__ and ordering?

2009-05-11 Thread Wouter van der Graaf
ling I need? Cheers, Wouter --~--~-~--~~~---~--~~ 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 e

Internationalization (i18n) of model: request.LANGUAGE_CODE in __unicode__ and ordering?

2009-05-07 Thread Wouter van der Graaf
nglish translations. All this is happening runtime, of course. Users in a admin edit page, using a drop down for the foreign key Country, should see the country names and ordering change when they select another language. Possible? Other ways to achieve a runtim