Re: Getting a Blog included in the Django community aggregator

2010-04-28 Thread Gustavo Narea
Hello, Russell et al. We also have a relatively new blog where we talk about Django and the extensions we write for Django, and one of my fellow developers contacted Jacob a few months ago but he never replied. Here's the feed for Django-related posts: http://dev.2degreesnetwork.com/feeds/posts/d

Re: Getting a Blog included in the Django community aggregator

2010-04-30 Thread Gustavo Narea
Thanks! On Apr 28, 3:41 pm, Russell Keith-Magee wrote: > On Wed, Apr 28, 2010 at 9:50 PM, Gustavo Narea > > wrote: > > Hello, Russell et al. > > > We also have a relatively new blog where we talk about Django and the > > extensions we write for Django, a

Re: django_audit 0.0.2

2010-04-30 Thread Gustavo Narea
Sorry, but did you know there's already a project with that name? https://launchpad.net/django-audit On Apr 29, 9:05 pm, Dj Gilcrease wrote: > https://code.google.com/p/django-audit/ > > This is a fairly comprehensive Audit Trail App that uses regular > django models and is not tied to a "NoSQL"

Re: django_audit 0.0.2

2010-05-05 Thread Gustavo Narea
Hello, I would suggest you try to register "django_audit" on PYPI and see if it allows you to do so. We had already registered the package"django-audit" (note the hyphen instead of an underscore, which is exactly how we've always spelled it). I'm not sure if PYPI will let you register "django_aud

Re: django_audit 0.0.2

2010-05-05 Thread Gustavo Narea
On May 5, 3:45 pm, Dj Gilcrease wrote: > I also think Euan Goddard has already registered django-audit on pypi > (http://pypi.python.org/pypi/django-audit/0.9/) That's what I meant, Euan and I work together :) - Gustavo. -- You received this message because you are subscribed to the Google Gr

Re: Converting a urlib2 response to a django one

2010-05-06 Thread Gustavo Narea
You could do it quite easily with twod.wsgi and Paste: """ from paste.proxy import Proxy from twod.wsgi import make_wsgi_view class ProxyRemoteFile(Proxy): def __call__(self, environ, start_response): environ['PATH_INFO'] = "/fixed/path/to/file" return super(ProxyRemoteFile, s

Re: Converting a urlib2 response to a django one

2010-05-06 Thread Gustavo Narea
On May 6, 3:35 pm, Gustavo Narea wrote: > More info here: > http://packages.python.org/twod.wsgi/ Sorry, I meant: http://packages.python.org/twod.wsgi/manual/embedded-apps.html -- You received this message because you are subscribed to the Google Groups "Django users" group.

ANN: Djangout -- Buildout recipes for Django

2010-02-18 Thread Gustavo Narea
Hello, I'm pleased to announce Djangout, a set of Buildout recipes for Django. Although that "set" is made of just one item, we find this functionality to be a very useful one: http://packages.python.org/djangout/ If you'd like to receive updates about this recipe, you may want to keep an eye on

Re: ANN: Djangout -- Buildout recipes for Django

2010-02-19 Thread Gustavo Narea
Hi. It's a build tool for Python: http://en.wikipedia.org/wiki/Build_automation http://www.buildout.org/ - Gustavo. On Feb 18, 7:07 pm, Timothy Kinney wrote: > Sorry for the noob question, but what is a Buildout recipe? > > On Thu, Feb 18, 2010 at 11:30 AM, Gustavo Narea &

ANN: twod.wsgi -- Better WSGI support for Django

2010-03-08 Thread Gustavo Narea
Hello, everybody. I'm very pleased to announce the first alpha release of twod.wsgi, a library to make WSGI a first-class citizen in Django applications. twod.wsgi allows Django developers to take advantage of the huge array of existing WSGI software, to integrate 3rd party components which suit

Re: is there any possibility for two settings.py

2010-03-08 Thread Gustavo Narea
Have a look at: http://packages.python.org/twod.wsgi/manual/paste-factory.html#multiple-configuration-files On Mar 8, 7:06 am, chiranjeevi muttoju wrote: > Hi friends, > i have two apps in my project, and i want to use two different settings for > each app. it means same project but i sud run tho

Re: How execute erlang code ?

2010-03-12 Thread Gustavo Narea
On Mar 12, 3:02 am, nameless wrote: > Hi at all. > I need to create a blogging system with Django+Apache+Postgresql and a > twitter-like app with Erlang+Yaws+Mnesia. > > How can I execute erlang code through django views ? WSGI to the rescue! http://packages.python.org/twod.wsgi/manual/embedded-a

Re: Multiple host-based settings file

2010-03-16 Thread Gustavo Narea
Hello, Even if there was a reliable way to reuse the same code base with different settings on a per request basis, which I doubt, I believe the safest and easiest way to extend a base configuration with twod.wsgi: http://packages.python.org/twod.wsgi/manual/paste-factory.html#multiple-configurati

Re: twod.wsgi

2010-03-16 Thread Gustavo Narea
John Griessen wrote: > Gustavo Narea wrote: > > Hello, > > > Even if there was a reliable way to reuse the same code base with > > different settings on a per request basis, which I doubt, I believe > > the safest and easiest way to extend a base configuration with > >

Re: How to share settings file in multiprogrammer project

2010-03-29 Thread Gustavo Narea
We use Paste Deploy configuration files [1] and we have a main/base configuration file under version control, which gets overridden with a non-versioned configuration file with holds all the sensitive information specific to that instance of the application. This way, such information is not under

Use of FileField fields causes memory consumption to grow without releasing it

2011-05-13 Thread Gustavo Narea
system, the problem is still present. I've also checked the Postgres statement logs and the only query issued looks absolutely fine. I'm using Python 2.5, Django 1.1.4 and Ubuntu (it also happens on Debian boxes). I got DEBUG set to False. I'll continue to look at this to see

Re: Use of FileField fields causes memory consumption to grow without releasing it

2011-05-13 Thread Gustavo Narea
he problem is present. It looks like a bug in Django. On 13/05/11 10:57, Gustavo Narea wrote: > Hello, > > I've noticed that when you iterate over a query set and use a > FileField instance from each model instance, the memory used by the > process increases every time the

Re: Use of FileField fields causes memory consumption to grow without releasing it

2011-05-13 Thread Gustavo Narea
I've filled a bug report: http://code.djangoproject.com/ticket/16022 On 13/05/11 10:57, Gustavo Narea wrote: > Hello, > > I've noticed that when you iterate over a query set and use a > FileField instance from each model instance, the memory used by the > process incr