Re: Django debug= false throwing 503 error

2015-12-28 Thread Esau Rodriguez
Hi, I assume the development server is working. If that is the case it could be that you have a problem with your production stack. I remember a situation long time ago (like Django 1.1 or so) a project I run with apache + mod_wsgi and we have a problem like this (I don't remember the error code)

Re: Use of transactions

2015-10-21 Thread Esau Rodriguez
, Esau Rodriguez. On Wed, Oct 21, 2015 at 4:29 PM, César Bustíos Benites < cesarbust...@gmail.com> wrote: > Hello! Thank you for answering. So if that's the case then what is > happening is that (according to question 1) the second transaction is > getting the same number a

Re: Use of transactions

2015-10-21 Thread Esau Rodriguez
have is that the id generation is outside database, and probably is based on what is on the DB when you start printing (would be nice if you put more code about id generations). Regards, Esau Rodriguez. On Wed, Oct 21, 2015 at 4:02 PM, César Bustíos Benites < cesarbust...@gmail.com>

Re: Global access to request.user

2015-03-26 Thread Esau Rodriguez
I don't see how middleware could be used to avoid passing the user or request parameter to the inner methods. As this is part of the view, I'd probably write a custom filter or tag, I dunno. Regards, Esau. On Thu, Mar 26, 2015 at 2:52 PM, Anderson Resende wrote: >

Re: Are these tests redundant?

2014-07-15 Thread Esau Rodriguez
Imho all but 4 are redundant. That is already tested in django itself. Regards, Esau Rodriguez. El 15/07/2014 16:48, "Tianyi Wang" <wty52...@gmail.com> escribió: > Hi, > > I have a very simple model: > > class Action(models.Model): > name = model

Re: Contacts

2014-07-10 Thread Esau Rodriguez
You need to import classes from models. Try from contacts.models import Person (or any other class). Regards, Esau Rodriguez. El 10/07/2014 06:44, "Lachlan Musicman" <data...@gmail.com> escribió: > Hola, > > So I need a contact app. I could write one myself, but ther

Re: newcomer to django testing

2014-06-08 Thread Esau Rodriguez
The testing process creates db itself when using south it migrate all apps with migrations. Could you have a problem with your migrations when run from zero?. Regards Esau Rodriguez. On Sun, Jun 8, 2014 at 10:20 AM, monoBOT <monobot.s...@gmail.com> wrote: > Im new on testing ... to

Re: Newbie question about django-cas

2014-02-19 Thread Esau Rodriguez
Hi there, you have to put the absolute url for CAS_SERVER_URL try CAS_SERVER_URL=http://login.oregonstate.edu-dev/login (or https) Regards, Esau Rodriguez. On Wed, Feb 19, 2014 at 6:04 PM, wasingej <wasin...@onid.oregonstate.edu> wrote: > Hello. > > I am trying to put togethe

Re: Django Matrimonial Apps,

2014-02-06 Thread Esau Rodriguez
What do you mean by "matrimonial apps"? On Thu, Feb 6, 2014 at 2:18 PM, Puneet wrote: > Guys did you anything on this ? I am looking for one matrimonial app in > django. > > On Saturday, August 14, 2010 5:05:51 PM UTC+5:30, Kenneth Gonsalves wrote: >> >> On Sat, 2010-08-14

Re: i18n translation urls in templates

2007-09-22 Thread Esau Rodriguez
On Saturday 22 September 2007 08:51:11 ferran wrote: > Hi, > > I'm trying translate url's in my templates but i don't know how, i'm > using tags url and trans > i'm try this > > {% url trans "home_url_presentation" %} > {% url | trans "home_url_presentation" %} > but do not anything > > in locale

Re: Could you please share your django-based website source code with me?

2007-07-02 Thread Esau Rodriguez
are source for full django applications at production level. Regards, Esau Rodriguez. > > Best wishes, > Nick > [1] http://www.djangosites.org -- == Esaú Rodríuez Sicilia Email1: [EMAIL PROTECTED] Email2: [EMAIL PROTECTED] IM1: [EMAIL PROTEC

Re: newforms.BooleanField needs a required=False?

2007-04-22 Thread Esau Rodriguez
Yes I do. I'm using the svn version. On 4/21/07, Terji7 <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm making my first 0.96 application, a Faroe Islands tax calculator > (it's at gladsheinur.webfactional.com/skattur/, check it out, it's a > work in progress). > > I'm trying to use a BooleanField,