diff --git a/.bettercodehub.yml b/.bettercodehub.yml index a447846..bff2d73 100644 --- a/.bettercodehub.yml +++ b/.bettercodehub.yml @@ -7,8 +7,6 @@ languages: - name: python production: - include: - - /scripts/planb exclude: - /example_settings.py - /test_settings.py diff --git a/manage b/manage index 4fac934..863499e 100755 --- a/manage +++ b/manage @@ -1,7 +1,6 @@ #!/bin/sh -here=$(cd "$(dirname "$0")"; pwd) admin=$(which django-admin django-admin.py | head -n1) test -z "$admin" && echo "No django-admin found. Missing env?" >&2 && exit 1 # This manage script is only used in development. # If we define DJANGO_SETTINGS_MODULE we do not need a PLANB_ENVFILE. -DJANGO_SETTINGS_MODULE="${DJANGO_SETTINGS_MODULE:-settings}" exec "$here/scripts/planb" "$@" +DJANGO_SETTINGS_MODULE="${DJANGO_SETTINGS_MODULE:-settings}" exec python -m planb.main "$@"