Permalink
Browse files

adding note about decorators: http://github.com/jabapyth/django-appse…

  • Loading branch information...
1 parent aab40b7 commit 2b19d51ed76d9723b60c7f945e8f8fbe15c8a109 @jaredly committed Jul 26, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.rst
View
@@ -131,5 +131,12 @@ See example::
Note that you can only have one settings group flagged as "main".
+.. note::
+
+ If you're using Python <= 2.5, the @decorator syntax won't work for
+ classes. In that case, after your class declaration put the line
+ ``Globals = register(main=True)(Globals)``. See the `PEP
+ <http://www.python.org/dev/peps/pep-0318/#motivation>`_.
+
Please give me feedback and any questions through github
http://github.com/jabapyth/django-appsettings

0 comments on commit 2b19d51

Please sign in to comment.