#11016: manage.py not finding custom commands when run from different directory (or through a symlink in a different directory) --------------------------------------+------------------------------------- Reporter: icyhandofcrap | Owner: nobody Status: new | Milestone: 1.1 Component: django-admin.py | Version: 1.1-beta-1 Resolution: | Keywords: Stage: Unreviewed | Has_patch: 1 Needs_docs: 0 | Needs_tests: 1 Needs_better_patch: 0 | --------------------------------------+------------------------------------- Comment (by anonymous):
I'm not sure how I would do unit tests for this, but this is a demo of the code. Make symbolic links, run it from different directories, etc. and it will print out the parent directory of the script itself. Of course, doesn't work with hard links. -- Ticket URL: <http://code.djangoproject.com/ticket/11016#comment:5> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---