Re: database update after paypal payment

2017-03-22 Thread Michael Goytia
Hello, If you still need help please email me and I can assist you. also look at this page Michael Goytia On Wednesday, March 1, 2017 at 7:11:08 PM UTC-7,

Re: Executing DB-Queries during import

2017-03-22 Thread Tim Graham
Correct, module level queries should be avoided. Django might try to add some detection to warn about or prohibit that, see https://groups.google.com/d/topic/django-developers/7JwWatLfP44/discussion. On Wednesday, March 22, 2017 at 12:16:16 PM UTC-4, guettli wrote: > > If I recall correctly,

Executing DB-Queries during import

2017-03-22 Thread guettli
If I recall correctly, then you should not execute db-queries during import. I think this can do a lot of trouble. For example during test-discovery db-queries get executed. Is it just me being paranoid, or is this a general advice? I tried to find something about this topic with my favorite

Re: Django admin custom filter: ProgrammingError: more than one row returned by a subquery used as an expression

2017-03-22 Thread Camilo Torres
Hi, The problem with your approach is the SQL will actually be something like this: select , (select id from web_quote WHERE character_length(quote_text) < 30) as val from ; That will fail in RDMS like Postgres if there are more than one "quote_text" with length < 30. May be you want is

Re: Django Captcha or MathCaptcha application

2017-03-22 Thread Thiago Parolin
I am using django-recaptcha2, that is a google recaptcha... Very simple to setup and use and works very well 2017-03-22 11:20 GMT-03:00 valerio orfano : > Hi > > i am trying to apply captcha process to my web site. I could find any > clear documentation out there (at least

Django Captcha or MathCaptcha application

2017-03-22 Thread valerio orfano
Hi i am trying to apply captcha process to my web site. I could find any clear documentation out there (at least clear to me). Do you know any simple step by step tutorial or captcha application source code you have already created and that works fine? I am looking for code regarding view,

Re: Testing a Django library

2017-03-22 Thread Jani Tiainen
Hi, Tox is quite neat test wrapper makes which easy to test code against multiple versions of Python and Django. On 21.03.2017 00:38, th...@copperleaf.com wrote: I am working on a Django library (which will be packaged) and want to set up testing for it. Looking at a number of existing