Ticket #1079 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

syncdb fails if app dos not contain models

Reported by: aistis.jokubauskas@… Owned by: andrew
Priority: major Milestone: 1.0
Component: commands Version: 0.7.5
Keywords: Cc:


With django 1.4 south syncdb fails if app does not contain models.


$ syncdb
Traceback (most recent call last):
  File ".../virtual/bin/lettuce_manage", line 59, in <module>
  File ".../djangorecipe-1.2.1-py2.7.egg/djangorecipe/", line 19, in main
  File ".../Django-1.4-py2.7.egg/django/core/management/", line 459, in execute_manager
  File ".../Django-1.4-py2.7.egg/django/core/management/", line 382, in execute
  File ".../Django-1.4-py2.7.egg/django/core/management/", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File ".../Django-1.4-py2.7.egg/django/core/management/", line 232, in execute
    output = self.handle(*args, **options)
  File ".../Django-1.4-py2.7.egg/django/core/management/", line 371, in handle
    return self.handle_noargs(**options)
  File ".../South-0.7.5-py2.7.egg/south/management/commands/", line 66, in handle_noargs
    migrations = migration.Migrations(app_label)
  File ".../South-0.7.5-py2.7.egg/south/migration/", line 60, in __call__
    self.instances[app_label] = super(MigrationsMetaclass, self).__call__(app_label_to_app_module(app_label), **kwds)
  File ".../South-0.7.5-py2.7.egg/south/migration/", line 41, in app_label_to_app_module
    app = models.get_app(app_label)
  File ".../Django-1.4-py2.7.egg/django/db/models/", line 149, in get_app
    raise ImproperlyConfigured("App with label %s is missing a module." % app_label)
django.core.exceptions.ImproperlyConfigured: App with label django is missing a module.


Change History

comment:1 Changed 2 years ago by andrew

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone set to 1.0

This is a Django "bug", and it's been this way for ages. Nothing to do with South.


Add a comment

Modify Ticket

as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.