Re: django using wrong python???

2010-12-30 Thread Alvaro Mouriño
help working inside the environment. I know this doesn't actually answers your question but I thought you may find it useful. Regards, [0] https://github.com/tooxie/python-schizoid -- Alvaro Mouriño http://askani.net/ -- You received this message because you are subscribed to the Google Gro

Re: Askani

2010-11-21 Thread Alvaro Mouriño
. Always trying to avoid the need of a web server as much as possible. Thanks for taking the time to try it. -- Alvaro Mouriño http://askani.net/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

Re: [RFC] Askani

2010-11-20 Thread Alvaro Mouriño
ackground, hm, in chrome it was just 2... I could reproduce it following those steps. Thanks, I'm working on this strange bug. -- Alvaro Mouriño http://askani.net/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: [RFC] Askani

2010-11-20 Thread Alvaro Mouriño
re you clicking on? There are two links to django docs, in metadata options and field edition. I just tried both and work fine. Which browser are you using? Thanks for the feedback. -- Alvaro Mouriño http://askani.net/ -- You received this message because you are subscribed to the Google Groups

Re: [RFC] Askani

2010-11-20 Thread Alvaro Mouriño
also editable the same way but you don't get completion. On the other hand, the system validates the arguments. For example, you can't have any more arguments after a keyword argument (**) and so on. How could I make field and method edition more "obvious"? Thanks for the feedback! -

Re: [RFC] Askani

2010-11-20 Thread Alvaro Mouriño
? Anyway, I think a graphical interface helps you see the relevant information clearly and hide the bits you don't need. It also helps you sketch ideas quickly. I'm very used to CLI (I use debian and coded askani in vim) but I believe that a GUI really makes a difference. Regards, -- Alvaro

[RFC] Askani

2010-11-20 Thread Alvaro Mouriño
he concept, a prototype. The reason for this email is to request comments, suggestions and critics on the idea and specially on the usability. Clone the source, read the README file and play with it. Have fun =) Regards, -- Alvaro Mouriño http://askani.net/ -- You received this message because you are

Re: Checking download completed

2009-10-09 Thread Alvaro Mouriño
On Fri, Oct 9, 2009 at 1:57 PM, Christophe Pettus <x...@thebuild.com> wrote: > On Oct 8, 2009, at 10:41 AM, Alvaro Mouriño wrote: >> I was asked to keep track of how many times each edition >> is downloaded, but I want to make a difference between completed >>

Checking download completed

2009-10-08 Thread Alvaro Mouriño
Hi list, I'm developing a website for a local newspaper which is distributed as PDF as well. I was asked to keep track of how many times each edition is downloaded, but I want to make a difference between completed downloads and uncompleted. Now I'm serving the file through the HttpResponse

Re: Limiting queryset on ModelAdmin based on date field

2009-09-24 Thread Alvaro Mouriño
On Thu, Sep 24, 2009 at 2:52 AM, Brian McKeever wrote: > > I'm not too familiar with customizing the admin, but you want to use > the range field lookup. > > http://docs.djangoproject.com/en/dev/ref/models/querysets/#range Thanks McKeever, but that's actually the problem: I

Re: Limiting queryset on ModelAdmin based on date field

2009-09-24 Thread Alvaro Mouriño
On Thu, Sep 24, 2009 at 6:19 AM, Daniel Roseman <dan...@roseman.org.uk> wrote: > > On Sep 24, 6:07 am, Alvaro Mouriño <alvaro.stev...@gmail.com> wrote: >> Hi list. >> >> I'm developing a news application that handles articles, about 10 new >> artic

Limiting queryset on ModelAdmin based on date field

2009-09-23 Thread Alvaro Mouriño
Hi list. I'm developing a news application that handles articles, about 10 new articles each day. The site administrator every morning selects from a drop-down-list the ones that hit the front page. As time goes by this list grows bigger and bigger, and what's worst, old articles doesn't even

Re: Django + QT4

2009-09-23 Thread Alvaro Mouriño
ful information on the net [3]. Good luck. [0] http://docs.python.org/library/webbrowser.html [1] http://docs.python.org/library/cookielib.html [2] http://docs.python.org/library/httplib.html [3] http://www.google.com.uy/search?q=django+desktop -- Alvaro Mouriño --~--~-~--~~

News sitemaps

2009-07-13 Thread Alvaro Mouriño
Hi list, I'd like to know if there are any plans to patch [0] the sitemaps framework to add news sitemaps support in the near future. Regards, [0] http://code.djangoproject.com/ticket/10907 -- AlvAro --~--~-~--~~~---~--~~ You received this message because you

Re: Subscriptions software

2009-04-22 Thread Alvaro Mouriño
On Wed, Apr 22, 2009 at 8:56 PM, Chris Moffitt wrote: > It looks like django-accounts is a bit stalled. You could try taking a look > at Satchmo  (http://www.satchmoproject.com ) > > It's more of a full fledged ecomerce app but it does support a subscription > model and

Subscriptions software

2009-04-22 Thread Alvaro Mouriño
Hi all, I'm working at a newspaper which requires readers to subscribe and choose from many different pay plans, from monthly to yearly. The subscriptions software was built on django 0.91, it's becoming a headache to maintain so we are planning to develop it from scratch on 1.0. Is there

Re: Context processors not executing

2009-02-06 Thread Alvaro Mouriño
On Fri, Feb 6, 2009 at 5:47 PM, Alex Gaynor <alex.gay...@gmail.com> wrote: > On Fri, Feb 6, 2009 at 2:45 PM, Alvaro Mouriño <alvaro.stev...@gmail.com> > wrote: >> >> Hi list, >> >> None of the context processors are being executed, not only my own, &g

Re: POST still occurs after HttpResponseRedirect

2009-01-12 Thread Alvaro Mouriño
On Mon, Jan 12, 2009 at 10:54 PM, Malcolm Tredinnick wrote: > > On Sun, 2009-01-11 at 19:27 -0800, stryderjzw wrote: >> Hi, >> >> Here's part of my code: >> >> class NewAssignmentFormPreview(FormPreview): >> >> def done(self, request, form): >> assignment =

Re: Shouldn't get_profile() create the profile object?

2009-01-09 Thread Alvaro Mouriño
On Thu, Jan 8, 2009 at 12:26 AM, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > > On Wed, 2009-01-07 at 22:50 -0200, Alvaro Mouriño wrote: >> I find myself checking for the existence of the profile object for the >> user everytime I call the get_profile

Shouldn't get_profile() create the profile object?

2009-01-07 Thread Alvaro Mouriño
I find myself checking for the existence of the profile object for the user everytime I call the get_profile function or making sure that it gets created with every user. Is there a reason for this? Shouldn't the framework assure me that I will get a profile whenever I call get_profile()? Even

Did r7798 break comments?

2008-07-09 Thread Alvaro Mouriño
Hi list, I'm using the comments engine [0] provided by the framework, but after updating to the revision 7798 [1] or later I get the error: u'get_comment_count' tag has invalid content-type. As you can tell by the error message, the exception is raised at the get_comment_count [2] function, but

Re: django-ratings

2008-05-13 Thread Alvaro Mouriño
On Tue, May 13, 2008 at 11:23 PM, David Cramer <[EMAIL PROTECTED]> wrote: > > I'm building a new pluggable ratings app (django-voting doesn't come > close to covering what my specs are). It's built around a similar > architecture to what we used on Curse. What I'm looking for right now > is

Re: OT: Django logo

2008-03-25 Thread Alvaro Mouriño
On Tue, Mar 25, 2008 at 10:02 PM, Justin Lilly <[EMAIL PROTECTED]> wrote: > whatthefont.com couldn't find a good match. > I didn't know that site. I checked and matched 5 fonts, but none of them was exactly it, but still does a great job recognizing the letters! -- AlvAro

Re: OT: Django logo

2008-03-25 Thread Alvaro Mouriño
On Wed, Feb 28, 2007 at 9:35 PM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > On 2/28/07, cjl <[EMAIL PROTECTED]> wrote: > > Way off topic...anyone know which font is used for the django logo? > > It's DTL Prokyon (http://www.dutchtypelibrary.nl/Prokyon_rdrct.html -- > terrible HTML alert).

Re: IDE

2008-03-07 Thread Alvaro Mouriño
On Fri, Mar 7, 2008 at 6:40 AM, jason <[EMAIL PROTECTED]> wrote: > > 1 vote for SPE, aka Stanis Python Editor. So far many editors/IDEs have been put on the table here, let me remind you: Free as in freedom: * OpenKomodo * UliPad * PIDA * Eric * Boa Constructor * Eclipse + Pydev * Kate * Geany

menuse

2007-09-24 Thread Alvaro Mouriño
Hi List, I've just developed a (very simple) app to create menus with links to flatpages or URIs and I'd like to share it with you. From http://code.google.com/p/django-menuse/ This app lets you create and administer menus from flatpages in 5 easy steps: 1. Create your flatpages. 2.

Re: Django deployment à lá Capistrano

2007-09-11 Thread Alvaro Mouriño
On 9/11/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > > I'll be creating a google code page as soon as we settle down on a name. > I like Djangostrano. Sounds nice. But I'm not sure about anyone crying > out something about "ripping other people's ideas". > I don't think I can help with

Re: django under 2.5

2007-08-30 Thread Alvaro Mouriño
On 8/30/07, John Shaffer <[EMAIL PROTECTED]> wrote: > > On 8/28/07, Alvaro Mouriño <[EMAIL PROTECTED]> wrote: > > I have been running django under python 2.4 but now I'm considering > > switching to 2.5. Are there any known compatibility issues? Or is it > &

django under 2.5

2007-08-28 Thread Alvaro Mouriño
Hi list, I have been running django under python 2.4 but now I'm considering switching to 2.5. Are there any known compatibility issues? Or is it just straightforward? Thanks, AlvAro "You can't change the world, but you can change your mind." Software Libre: El conocimiento no puede tener

Re: OperationalError

2007-08-18 Thread Alvaro Mouriño
On 8/18/07, Doug B <[EMAIL PROTECTED]> wrote: > > > [PYTHON] > > class Order(models.Model): > > def count_items(self): > > items = 0 > > for item in self.orderitem_set.filter(order=self): > > items += item.quantity > > return items > > count =

Re: Make Operating System Faster !!

2007-08-18 Thread Alvaro Mouriño
On 8/18/07, John Travolta <[EMAIL PROTECTED]> wrote: > Tune up your system and make it faster This list gets lots of spam, doesn't it? Is there a way to prevent it from hitting the mailboxes of the list subscribers? AlvAro "You can't change the world, but you can change your mind." Software

OperationalError

2007-08-18 Thread Alvaro Mouriño
Hi list, I'm developing a (yet another) shopping cart and I'm having a problem when counting the items in the cart. In my model I have an "Order" class which is the cart and a "OrderItem" class which are the items in the cart. In the Order class I have this code: [PYTHON] class