#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example.settings")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)

@@ -203,16 +203,162 @@
 d_line%0A%0A
+    # Allow starting the app without installing the module.%0A    sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.realpath(__file__))))%0A%0A
     exec

Update manage.py