Ticket #10144: patch.txt

File patch.txt, 569 bytes (added by Jacob Fenwick, 14 years ago)

Patch for init.py

Line 
1(in django-1.0.X/django/contrib/comments)
2svn diff __init__.py
3Index: __init__.py
4===================================================================
5--- __init__.py (revision 9791)
6+++ __init__.py (working copy)
7@@ -17,7 +17,7 @@
8 
9     # Try to import the package
10     try:
11-        package = __import__(comments_app, '', '', [''])
12+        package = __import__(comments_app, globals(), locals(), [''])
13     except ImportError:
14         raise ImproperlyConfigured("The COMMENTS_APP setting refers to "\
15                                    "a non-existing package.")
16
Back to Top