Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

django-startproject allows bad module names to be created #25

@rightonbro

Description

@rightonbro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions