#19904: Rework syndications contrib to use generic CBV's
-------------------------------------+-------------------------------------
Reporter: dokterbob | Owner: dokterbob
Type: | Status: new
Cleanup/optimization | Version: master
Component: contrib.syndication | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by dokterbob):
From looking at the code, it seems that the larger part of the work is
done in
[https://github.com/django/django/blob/master/django/utils/feedgenerator.py
django.utils.feedgenerator]. Within Django it seems that this code is only
used in the `syndication` contrib. Moreover, in practise, it seems that
more often than not, any interesting sort `Feed` view subclass needs to
subclass a `SyndicationFeed` as well.
Would it be a sensible decision to move all syndication code into a single
(sub)class within the contrib folder, such that only a single subclass
needs to be made when overriding the way feeds are being rendered?
--
Ticket URL: <https://code.djangoproject.com/ticket/19904#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.