On 24 Apr 2009, at 16:21, zellyn wrote: > > [I wasn't sure whether to post this before or after 1.1 dropped, but > decided to post now, since I'm just looking for discussion and > comments.] > > Django's contrib.syndication app feels different from normal views, > using a dictionary and dispatching by slug, then finding objects by > splitting the rest of the URL into "bits". > > It takes surprisingly few changes to make Feeds respond as normal > views: define the __call__ method on Feed objects. > > Here are the changes required (using pastry.se for its diffing > capability): http://pastry.se/46009/#e46010 > And here's the output of `svn diff`: http://pastry.se/46016/ > > Thoughts, comments, suggestions?
Funny you mention it, I've been working on something identical over the past few days. It definitely makes sense. http://github.com/bfirsh/syndication-view/tree/master I took the backwards incompatible approach, with the intention of writing a separate Feed class that hacked in the old methods for backwards compatibility. Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
