home / django_tickets / tickets

tickets: 8458

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
8458 2008-08-20 22:20:44 2011-09-28 16:12:17 2022-03-06 03:42:19.804987 Accepted closed Core (Management commands)     dev worksforme adding own commands to manage.py not working correctly 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. nobody dafire   0 0 0 0 0 0
Powered by Datasette · Queries took 1.247ms