Is there a bug filed against django for this?
Add a blank (with comments) models.py file to djblets/webapi/.
Review Request #6083 — Created July 8, 2014 and discarded
Django has an interesting bug during syncdb. If it knows that a
particular module (say, foo.webapi) has a models.py file, it will then
look for SQL files relative to that. When it does that, it loops through
all modules in INSTALLED_APPS, looking for an app named 'webapi', even
if it isn't the original one it found models in. When it finds one that
doesn't have a models.py (say, djblets.webapi), it will fail with an
The easiest workaround is to just provide a models.py here, so that it
will move along without being so very angry.
I was able to add a models.py to reviewboard/webapi/ without syncdb blowing
up, and with the models appearing in my database.
Tool: Pyflakes Processed Files: djblets/webapi/models.py Tool: PEP8 Style Checker Processed Files: djblets/webapi/models.py