#1908: Having an app name the same as project name breaks manage.py ( unable to
import projectname.settings )
-------------------------------------+-------------------------------------
Reporter: simon@… | Owner: adrian
Type: Bug | Status: reopened
Milestone: | Component: Core (Management
Version: SVN | commands)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords:
Needs documentation: 0 | Has patch: 0
Patch needs improvement: 0 | Needs tests: 0
-------------------------------------+-------------------------------------
Comment (by masklinn):
I've run into a false-positive of this issue: it's not possible to create
stand-alone applications using the [http://guide.python-
distribute.org/quickstart.html#lay-out-your-project standard layout] with
{{{startapp}}}, short of taking liberties with namings (swapping
capitalization around for instance):
{{{
> virtualenv --no-site-package foo
New python executable in foo/bin/python
Installing setuptools............done.
> cd foo && . bin/activate
(foo)> easy_install django
Searching for django
[snip]
Finished processing dependencies for django
(foo)> django-admin.py startapp foo
Error: You cannot create an app with the same name ('foo') as your
project.
}}}
Here, there is no project at all, yet {{{startapp}}} whines.
--
Ticket URL: <http://code.djangoproject.com/ticket/1908#comment:12>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.