1. Andrew Godwin
  2. south
  3. Pull requests

Pull requests

#113 Merged
Repository
Deleted repository
Branch
default (50e1b0981e02)
Repository
south
Branch
default

Testing for correct app name input in schemamigration command

Author
  1. gterzian
Reviewers
Description

Hi Andrew,

I've added this test because I was annoyed by the ImproperlyConfigured that would be raised by Django when you made a typo in the app's name when calling the schemamigration command.

This was due to an uncaught exception in: File /site-packages/south/migration/utils.py", line 41, in app_label_to_app_module app = models.get_app(app_label) File "/site-packages/django/db/models/loading.py", line 152, in get_app raise ImproperlyConfigured("App with label %s could not be found" % app_label)

  • Learn about pull requests

Comments (1)