Created
March 16, 2017 14:59
-
-
Save svschannak/0469a512de2f6fea32e58f99b36541f6 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 EventFeed(ICalFeed): | |
""" | |
A simple event calender | |
""" | |
product_id = '-//example.com//Example//EN' | |
timezone = 'UTC' | |
file_name = "event.ics" | |
def __call__(self, request, *args, **kwargs): | |
self.request = request | |
return super(EventFeed, self).__call__(request, *args, **kwargs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment