Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18069 closed Bug (needsinfo) reset app

Reported by: 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 4 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to needsinfo
  • Status changed from new to closed

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 4 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