ROOT = os.path.dirname(os.path.abspath(__file__))
sys.path = [
os.path.join(ROOT, 'apps'),
- os.path.join(ROOT, 'lib'),
- os.path.join(ROOT, 'lib/librarian'),
] + sys.path
if __name__ == "__main__":
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "redakcja.localsettings")
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "redakcja.settings")
from django.core.management import execute_from_command_line