You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

16 lines

  1. #!/usr/bin/env python
  2. import os
  3. import sys
  4. if __name__ == '__main__':
  5. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conlangdict.settings')
  6. try:
  7. from import execute_from_command_line
  8. except ImportError as exc:
  9. raise ImportError(
  10. "Couldn't import Django. Are you sure it's installed and "
  11. "available on your PYTHONPATH environment variable? Did you "
  12. "forget to activate a virtual environment?"
  13. ) from exc
  14. execute_from_command_line(sys.argv)