#5825: Customized actions for manage.py not working
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Component: django-admin.py
Version: SVN | Resolution:
Keywords: custom actions manage.py | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------------------+-----------------------------------
Comment (by anonymous):
The correct directory is added to sys.path by the
django.core.management.setup_environ() function. It is then, for some
reason, removed again. Why is this function called, if not to setup the
sys.path correctly?
Commenting out the line: 'sys.path.pop()' from this function will make
customized actions work correctly.
--
Ticket URL: <http://code.djangoproject.com/ticket/5825#comment:4>
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
-~----------~----~----~----~------~----~------~--~---