Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Commit

Permalink
settings_local would always be next to manage.py (backwards compatibi…
Browse files Browse the repository at this point in the history
…lity)
  • Loading branch information
kumar303 committed Sep 29, 2011
1 parent 0cce43b commit ceef10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funfactory/manage.py
Expand Up @@ -61,7 +61,7 @@ def setup_environ(manage_file, settings=None):

from django.core.management import execute_manager, setup_environ
if not settings:
if os.path.isfile(os.path.join(os.getcwd(), 'settings_local.py')):
if os.path.isfile(os.path.join(ROOT, 'settings_local.py')):
import settings_local as settings
import warnings
warnings.warn("Using settings_local.py is deprecated. See "
Expand Down

0 comments on commit ceef10f

Please sign in to comment.