django-startproject icon indicating copy to clipboard operation
django-startproject copied to clipboard

django-startproject allows bad module names to be created

Open rightonbro opened this issue 14 years ago • 0 comments

I ran

django-startproject.py premium-support

and filled out the information as follows:

Project name [PROJECT]: premium-support Project author [Lincoln Loop]: Michael Development server [dev.lincolnloop.com]: [redacted] Repository location [cambridge.lincolnloop.com]: [redacted]

After that, I ran

pip install -r requirements.pip

and then

pip install -e .

This went okay.

Finally, I ran

manage.py syncdb

and it bombed out with invalid syntax:

http://dpaste.de/tzy8Y/

Chris asked me to file an issue for this:

[9/29/11 4:30:05 PM] Chris: can't use dashes for your module name [9/29/11 4:30:12 PM] Chris: it should probably protect against you trying to [9/29/11 4:30:39 PM] Chris: add an issue in github for that

So....here it is.

rightonbro avatar Sep 29 '11 23:09 rightonbro