#5943: django-admin.py should work like manage.py if --setting option is
provided
--------------------------+-------------------------------------------------
Reporter: toddobryan | Owner: nobody
Status: new | Component: django-admin.py
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 1
--------------------------+-------------------------------------------------
Changes (by russellm):
* needs_better_patch: => 1
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0
Comment:
Thanks, Todd. The patch appears to break the Django system tests; when I
run the system tests, I get the following stack trace:
{{{
Traceback (most recent call last):
File "./runtests.py", line 176, in ?
django_tests(int(options.verbosity), options.interactive, args)
File "./runtests.py", line 147, in django_tests
failures = run_tests(test_labels, verbosity=verbosity,
interactive=interactive, extra_tests=extra_tests)
File "/opt/local/lib/python2.4/site-packages/django/test/simple.py",
line 142, in run_tests
create_test_db(verbosity, autoclobber=not interactive)
File "/opt/local/lib/python2.4/site-packages/django/test/utils.py", line
155, in create_test_db
call_command('syncdb', verbosity=verbosity, interactive=False)
File "/opt/local/lib/python2.4/site-
packages/django/core/management/__init__.py", line 124, in call_command
app_name = get_commands()[name]
File "/opt/local/lib/python2.4/site-
packages/django/core/management/__init__.py", line 87, in get_commands
project_directory =
setup_environ(__import__(settings.SETTINGS_MODULE))
File "/opt/local/lib/python2.4/site-
packages/django/core/management/__init__.py", line 254, in setup_environ
project_module = __import__(project_name, {}, {}, [''])
ImportError: No module named tests
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/5943#comment:1>
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
-~----------~----~----~----~------~----~------~--~---