Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#18069 closed Bug (needsinfo) reset app

Reported by: Dmitrij Strelnikov Owned by: nobody
Component: Core (Management commands) Version: 1.4
Severity: Release blocker Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


python reset app

Traceback (most recent call last):

File "", line 10, in <module>


File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/", line 442, in execute_from_command_line


File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/", line 381, in execute


File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/", line 261, in fetch_command

klass = load_command_class(app_name, subcommand)

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/", line 69, in load_command_class

module = import_module('' % (app_name, name))

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/utils/", line 35, in import_module


File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/commands/", line 5, in <module>

from import sql_reset

ImportError: cannot import name sql_reset

Change History (2)

comment:1 Changed 6 years ago by Aymeric Augustin

Resolution: needsinfo
Status: newclosed

How have you installed Django? I suspect you ran install from a svn checkout, before and after r17842. That isn't a valid method of installing Django, as explained in the installation instructions, and that would explain the problem you're seeing.

comment:2 Changed 6 years ago by anonymous

ufff, a lot of changes, thank you a lot, Augustin, for explanation, I will go through the release notice more careful next time

Note: See TracTickets for help on using tickets.
Back to Top