Created
March 16, 2017 14:57
-
-
Save svschannak/07afdc25b220e2463b529376201a437e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ICalFeed(Feed): | |
# comments | |
feed_type = feedgenerator.DefaultFeed | |
def __call__(self, request, *args, **kwargs): | |
""" | |
Copied from django.contrib.syndication.views.Feed | |
Supports file_name as a dynamic attr. | |
""" | |
... | |
... | |
... | |
return response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment