Author: lukeplant
Date: 2009-10-15 15:25:20 -0500 (Thu, 15 Oct 2009)
New Revision: 11627

Modified:
   django/trunk/django/utils/decorators.py
Log:
Licence block for code added in r11586



Modified: django/trunk/django/utils/decorators.py
===================================================================
--- django/trunk/django/utils/decorators.py     2009-10-15 14:18:52 UTC (rev 
11626)
+++ django/trunk/django/utils/decorators.py     2009-10-15 20:25:20 UTC (rev 
11627)
@@ -6,6 +6,19 @@
 except ImportError:
     from django.utils.functional import wraps, update_wrapper  # Python 2.3, 
2.4 fallback.
 
+
+# Licence for MethodDecoratorAdaptor and auto_adapt_to_methods
+#
+# This code is taken from stackoverflow.com [1], the code being supplied by
+# users 'Ants Aasma' [2] and 'Silent Ghost' [3] with modifications.  It is
+# legally included here under the terms of the Creative Commons
+# Attribution-Share Alike 2.5 Generic Licence [4]
+#
+# [1] 
http://stackoverflow.com/questions/1288498/using-the-same-decorator-with-arguments-with-functions-and-methods
+# [2] http://stackoverflow.com/users/107366/ants-aasma
+# [3] http://stackoverflow.com/users/12855/silentghost
+# [4] http://creativecommons.org/licenses/by-sa/2.5/
+
 class MethodDecoratorAdaptor(object):
     """
     Generic way of creating decorators that adapt to being


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to