Re: check_password in contrib auth tries to update the database

2014-05-31 Thread Erik Romijn
Hello Suhrid, On 30 May 2014, at 15:58, suhridsat...@proteus-tech.com wrote: > check_password method of AbstractBaseUser in django.contrib.auth.models tries > to update the database. > This causes problems when this code executes on a read-only slave database. > >def check_password(self,

Re: What happens when secret key is lost?

2014-05-21 Thread Erik Romijn
On 20 May 2014, at 22:27, Tim Chase wrote: >> And yes, it is very important to keep it secret. The worst case >> scenario for secret key leakage, in particular configurations, is >> arbitrary remote code execution. > > Could you elaborate on how such remote-code

Re: What happens when secret key is lost?

2014-05-20 Thread Erik Romijn
Hello Henning, On 20 May 2014, at 20:40, Henning Sprang wrote: > The question is, what happens when I lose it - when it's used for > password hash salt, doesn't that mean if it's lost, all users have to > reset their password, don't they? If it were used for that, that

Re: django.utils.html.smart_urlquote() is incorrectly unquoting embedded url?

2014-03-12 Thread Erik Romijn
Hello, On 12 Mar 2014, at 17:48, Md. Enzam Hossain wrote: > When we give django.utils.html.smart_urlquote() an url with an already > embedded query as a query paramater, it is unquoting it which it should not > do. At first sight, this appears to be an intended behaviour.

Re: Is it possible to use Django with an API as its back-end?

2010-06-08 Thread Erik Romijn
ould suggest to have a look at: http://code.welldev.org/django-roa/wiki/Home cheers, Erik Romijn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from

Re: db problems after upgrading

2010-05-28 Thread Erik Romijn
Hi, darren wrote: > I upgraded django version from (not exactly sure) about 1.0 to 1.2. > After doing so, if I run manage.py syncdb, I get messages saying I > need to add unique constraints. I added "unique=True" to the columns > in the model that were indicated. However, I continue to get the