Force exception raising when transaction fails

2012-11-20 Thread Isaac XXX
Hi everybody, I run into a weird scenario, caused by a complex code involving threads and so on. The problem arised in some point, with a DatabaseError exception, saying: /current transaction is aborted, commands ignored until end of transaction block/ Obviously, the line which arises that

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Isaac XXX
this system (adding more servers) without trouble. Cheers, Isaac On 10/29/2012 05:18 PM, Some Developer wrote: On 29/10/2012 16:03, Isaac XXX wrote: Hi there, thank you for response Tom. Actually, I've a complete idea at how to build this system, but I lack the exact information about

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Isaac XXX
urely based on my own experience and use cases - I am by no means an expert on the subject and I'm still learning approaches on a daily basis - so this is really meant as "food for thought" rather than a "this is how you should do things". Hope this helps a bit! Cal O

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-30 Thread Isaac XXX
my current deployments, so it should not be a problem on a distributed environment. Cheers, Isaac On 10/29/2012 05:23 PM, Tom Evans wrote: On Mon, Oct 29, 2012 at 4:03 PM, Isaac XXX wrote: Hi there, thank you for response Tom. Actually, I've a complete idea at how to build this system,

Re: Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Isaac XXX
resql servers, in a master-slave flavour Cheers, Isaac On 10/29/2012 04:23 PM, Tom Evans wrote: On Mon, Oct 29, 2012 at 2:42 PM, Isaac XXX wrote: Hi folks, I'm developing a new application that should get high traffic. Right now, I've other projects with the follow architecture:

Scaling django (nginx + apache + mod_wsgi + postgresql)

2012-10-29 Thread Isaac XXX
Hi folks, I'm developing a new application that should get high traffic. Right now, I've other projects with the follow architecture: Nginx on front: serving static content and redirecting to apache for dynamic data Apache+mod_wsgi: serving dynamic pages PostgreSQL: backend for data storage

Video conference on django app

2012-01-16 Thread Isaac XXX
Hi folks, I know that it's not mainly django topic, but I know here's is a well documented community through several areas. I need to set a video conference (1 on 1) feature for a project in django. Can you provide me some hints about open-source (or free-royalty) apps, or frameworks, to get

Alternatives to celery

2012-01-15 Thread Isaac XXX
Hi folks, I need a solution to create cron-like jobs into my django projects. I've a server with several projects. I've testes celery, and it seems to work well with only 1 project, but when I need to set up several projects with celery support, I can't figure how to do it (because daemoniza

Re: Showing per-user information in admin

2011-08-13 Thread Isaac XxX
Thanks a lot derek! It's just all I was looking for :) On Fri, Aug 12, 2011 at 4:03 PM, Derek wrote: > On Aug 12, 1:29 pm, Isaac wrote: > > Hi dudes, > > > > I'm having trouble at finding a solution for my problem. All I want to > > do is tune django admin to show, for a given user an a given m

Problem with layout

2011-05-31 Thread Isaac XxX
Hi friends, recently I upgraded my django installed version to 1.3. To test it, i got a free html/css template from a page, and started a little web. The surprise came when I open development webserver, with all static files configured properly, and the resulting website (without any modification

Re: E-Commerce - Payment

2011-04-06 Thread Isaac XxX
Thank you a lot for your explanation. These concepts are really new for me, and now seems to be some light on this issue. On Wed, Apr 6, 2011 at 9:04 AM, Kenneth Gonsalves wrote: > On Wed, 2011-04-06 at 08:56 +0200, Isaac XxX wrote: > > And then, some advice at how to manage &qu

Re: E-Commerce - Payment

2011-04-05 Thread Isaac XxX
Thanks for advice and responses, I will take a look at payment gateway solutions, looking for one well fit to me On Wed, Apr 6, 2011 at 8:56 AM, Mike Ramirez wrote: > On Tuesday, April 05, 2011 11:25:12 pm Isaac XxX wrote: > > Hi folks, > > > > > Paypal seems to be cle

Re: E-Commerce - Payment

2011-04-05 Thread Isaac XxX
lves wrote: > On Wed, 2011-04-06 at 08:25 +0200, Isaac XxX wrote: > > Paypal seems to be clear at how to manage, but I don't know really how > > to > > manage credit card data: can be stored? shall I transfer directly that > > ssl > > channeled data to my bank?

E-Commerce - Payment

2011-04-05 Thread Isaac XxX
Hi folks, after some time spent in investigating django solutions for shopping carts, i got satchmo as my one. I've developed a custom shopping cart, and this app is ready to be published. The problem arised when I started to look for some information about how to manage payments: all information

Selecting a shopping cart

2011-03-21 Thread Isaac XxX
Hi there, Recently I decided to develop a project that will involve some shopping cart capabilities (we will sell some products, mainly by using credit card payment methods). I've been checking some packages - frameworks, and I can decide wich is better fit for me. By now, I visited the following

Re: How to work with views like classes

2011-03-17 Thread Isaac XxX
Thanks for your responses. The problem here is that there are some "dirty" solutions to this problem, but i'm sure there is a good way to proceed with it. This issue should be really simple to resolve if django make use of classes instead of functions for views, and then, template would be benefi

How to work with views like classes

2011-03-16 Thread Isaac XxX
Hi folks, Currently i'm getting trouble with a single feature in django. When i've some inheritance in templates, like the following TemplateA TemplateB inherits A TemplateC inherits B TemplateD inherits B If I need to define something depending on provided data in TemplateA or TemplateB, then

Re: i18n issue with compilemessages

2011-01-15 Thread Isaac XxX
The problem seems to come from your python path, that is not well defined. Try to define path in an absolute (not realtive) fashion. import os os.environ['PYTHONPATH'] = '/path/to/myproject' os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings' and then, apache should be able to execute c

Problem with translations

2011-01-03 Thread Isaac XxX
Recently, i've found a problem with i18n translations in Django. All my translations are located inside views functions, templates and some of them are in a file called forms.py (where i store some of my forms). The problem arise when I render that forms. First render time, seems that locale is a

Django admin and changes

2010-12-12 Thread Isaac XxX
Hi mates, i'm having trouble using django admin. Currently, i've finished a project, and it is the only issue i've open. When i add or update something through django admin interface, the rest of the web does not notice it. I need to restart server, and then all behaves in the normal way (new rec

Re: ANN: django-currencies 0.2.2

2010-12-03 Thread Isaac XxX
Nice app! I will keep an eye to it, maybe it can be useful for one of my projects On Fri, Dec 3, 2010 at 11:17 AM, Panos Laganakos wrote: > Description: > > django-currencies allows you to define different currencies, and > includes template tags/filters to allow easy conversion between them. >