Hi all!
Noob issue: Trying to get the @property decorator to work. Django complains "NameError: name 'Property' is not defined". What is it that I am failing to import and or define? And should I have found out about it?
Looks like you coded @Property, not @property. Python is case-sensitive so the uppercase P for property won't work.
Karen
http://tracey.org/kmt/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment