1 | Index: django/core/management/__init__.py
|
---|
2 | ===================================================================
|
---|
3 | --- django/core/management/__init__.py (revision 15615)
|
---|
4 | +++ django/core/management/__init__.py (working copy)
|
---|
5 | @@ -415,7 +415,7 @@
|
---|
6 |
|
---|
7 | # Import the project module. We add the parent directory to PYTHONPATH to
|
---|
8 | # avoid some of the path errors new users can have.
|
---|
9 | - sys.path.append(os.path.join(project_directory, os.pardir))
|
---|
10 | + sys.path.append(os.path.abspath(os.path.join(project_directory, os.pardir)))
|
---|
11 | project_module = import_module(project_name)
|
---|
12 | sys.path.pop()
|
---|