I'm implementing django-gcal into my
project. (http://code.google.com/p/django-gcal)
I'm trying to invoke the get_event_data() method from view.py but I'm
kind of clueless how to pass the instance parameter.
def get_event_data(self, instance):
"""
Returns a CalendarEventData object filled with data from the
adaptee.
"""
return CalendarEventData(
start=instance.start_time,
end=instance.end_time,
title=instance.title
)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---