#8458: adding own commands to manage.py not working correctly
---------------------------+------------------------------------------------
Reporter: dafire | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
I tried to add my own commands as described in
http://www.djangoproject.com/documentation/django-admin/ but it did not
find my commands.
I did some research and found a problem.
lets assume I have
{{{
INSTALLED_APPS = (
'proj.app'
)
}}}
and call manage.py from the /var/www/proj folder it looks for the
"management" class in /var/www/proj/proj/app/management
I added {{{sys.path = ['..']+sys.path}}} to
{{{"django\core\management\__init__.py"}}} as a local fix and it worked
after that.
--
Ticket URL: <http://code.djangoproject.com/ticket/8458>
Django Code <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
-~----------~----~----~----~------~----~------~--~---