Seems very odd how you're trying to implement this. Unless your
pseudocode has me confused. Can you give us the view functions too?
Seems like you're trying to use a decorator function on two views. Why
don't you just bail on the decorator, and just check for
request.GET.get('format') == 'rss', and
Have you tried invoking the pyhton debugger inside _wrapped to find
out the actual values of req_format and fmt and what's happening in
there?
Nuno
On Mon, Apr 19, 2010 at 4:15 AM, Streamweaver wrote:
> I'm having trouble developing a feed decorator. I feel like the
> decorator I've come up with
No insights? I'm still plugging away at it but it's not working for
some reason.
On Apr 18, 11:15 pm, Streamweaver wrote:
> I'm having trouble developing a feed decorator. I feel like the
> decorator I've come up with should work but isn't and I wanted to ask
> if someone can spot my error.
>
>
3 matches
Mail list logo