Why is @somesynatax used on a line before people define a method for thier Model in App Engine?

Posted by indiehacker on Stack Overflow See other posts from Stack Overflow or by indiehacker
Published on 2010-03-12T08:59:52Z Indexed on 2010/03/12 9:07 UTC
Read the original article Hit count: 168

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about models