Changes between Initial Version and Version 2 of Ticket #6782


Ignore:
Timestamp:
Mar 15, 2008, 7:16:05 PM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

Fixed description.

Since it makes no sense to run "reset" on an app with no models, the solution here is "don't do that". Maybe somebody will fix it at some point, but it's not particularly high priority.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6782

    • Property Triage Stage UnreviewedAccepted
  • Ticket #6782 – Description

    initial v2  
    1 # The orders and customers apps contain no models. This causes
    2 # the exception below
     1The orders and customers apps contain no models. This causes the exception below
    32
     3{{{
     4#!python
    45apps = ['resources', 'orders', 'common', 'customers']
    56management.call_command('reset', *apps)
     
    2930    app_label = app_models[0]._meta.app_label
    3031IndexError: list index out of range
     32}}}
Back to Top