Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-27 Thread marty3d
eku...@gmail.com> wrote: > On 26 November 2010 10:35, marty3d <martin.kjellb...@gmail.com> wrote: > > > I have disabled cache and still getting the error. That > > leaves...what? :/ > > > I could really appreciate some help debugging this. > > On a closer look,

Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-26 Thread marty3d
I have disabled cache and still getting the error. That leaves...what? :/ I could really appreciate some help debugging this. Thank you, /Martin On Nov 25, 10:06 pm, marty3d <martin.kjellb...@gmail.com> wrote: > It's 1.2.3. I have two ideas, either it could be the cache (starte

Re: Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-25 Thread marty3d
<lreku...@gmail.com> wrote: > Well, something must have changed if you didn't had the problem > before. What version of Django are you running ? > > On 25 November 2010 15:38, marty3d <martin.kjellb...@gmail.com> wrote: > > > > > Hi! > > > My site hav

Django feeds sometimes generate AttributeError: 'LatestStripsByStripConfig' object has no attribute '__name __'

2010-11-25 Thread marty3d
Hi! My site have started to behave a little weird. Lately, I get two or three errors per day, saying: Traceback (most recent call last): File "/home/mistalaba/.virtualenvs/production/lib/python2.5/site- packages/django/core/handlers/base.py", line 95, in get_response response =

Re: HttpResponseRedirect(request.path) after request.POST issue

2010-05-14 Thread marty3d
in with good advices! This is such a great community! /Martin On May 14, 10:41 am, Tom Evans <tevans...@gmail.com> wrote: > On Thu, May 13, 2010 at 6:11 PM, marty3d <martin.kjellb...@gmail.com> wrote: > > Thanks, that's a shame... > > So I'm now trying to do the request.P

Re: HttpResponseRedirect(request.path) after request.POST issue

2010-05-13 Thread marty3d
e. new_vote.content_type = ContentType.objects.get_for_id(form.cleaned_data['content_type']) #This SHOULD work, right? new_vote.save() return HttpResponseRedirect('/news/1/') #To make dynamic once the above code work Thanks, /Martin On May 13, 8:14 pm, Daniel Roseman <dan...@roseman.org.uk>

Re: HttpResponseRedirect(request.path) after request.POST issue

2010-05-13 Thread marty3d
? Thanks! /Martin On May 13, 2:33 pm, Daniel Roseman <dan...@roseman.org.uk> wrote: > On May 13, 1:21 pm, marty3d <martin.kjellb...@gmail.com> wrote: > > > > > Hi! > > > I'm making this small generic voting application and have stumbled > > across a stra

HttpResponseRedirect(request.path) after request.POST issue

2010-05-13 Thread marty3d
Hi! I'm making this small generic voting application and have stumbled across a strange issue. My idea is that the user comes to a page, like /news/slug where I'm having an inclusion tag showing up/down voting controls. Select your choice in the vote form and submit. The inclusion tag then takes

Re: Strange error using modelformset_factory

2008-12-18 Thread marty3d
gt; Alex > > On Dec 18, 2:33 am, marty3d <martin.kjellb...@gmail.com> wrote: > > > Thanks for the English lesson! :) > > > As you both pointed out, the .is_valid() should be used here. I > > skipped that part because the data was indeed valid and still got

Re: Strange error using modelformset_factory

2008-12-18 Thread marty3d
:23 pm, "Karen Tracey" <kmtra...@gmail.com> wrote: > On Wed, Dec 17, 2008 at 7:49 AM, marty3d <martin.kjellb...@gmail.com> wrote: > > > Hi! > > > I've been stuck with this for some days now, and can't find any > > answers whatsoever. Please bare w