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