jgorset/django-shortcuts — pull request #11 by benregn (2012-09-02 15:20:49+00:00)
Title: Friendly error message when trying to run without a command

Running:
```bash
$ django
```

In a folder with no Django project, spits out this traceback:
```bash
Traceback (most recent call last):
File "/Users/Tomas/.virtualenvs/todo-app/bin/django", line 9, in
load_entry_point('django-shortcuts==1.4', 'console_scripts', 'django')()
File "/Users/Tomas/.virtualenvs/todo-app/lib/python2.7/site-packages/django_shortcuts.py", line 75, in main
run(*sys.argv[1:])
File "/Users/Tomas/.virtualenvs/todo-app/lib/python2.7/site-packages/django_shortcuts.py", line 51, in run
if command == 'startproject' or ALIASES[command] == 'startproject':
KeyError: None
```

So it's just missing a friendly error message.