Why are these used prior to defining a method for a model?
@classmethod
@staticmethod
What is the difference between them? Are there others I should be
aware of?
Must I use them?
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to
They're called decorators, and here's a pretty good overview:
http://www.artima.com/weblogs/viewpost.jsp?thread=240808
Here's the definition of classmethod:
http://docs.python.org/library/functions.html#classmethod
and staticmethod:
http://docs.python.org/library/functions.html#staticmethod
On