Kaydet (Commit) bb1cb76d authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed keyboard slip that was accidentally committed

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst edf68bed
......@@ -105,7 +105,7 @@ def get_sql_create(app):
output, references = _get_sql_model_create(model, known_models)
final_output.extend(output)
for refto, refs in references.items():
pending_references.set_default(refto,[]).extend(refs)
pending_references.setdefault(refto,[]).extend(refs)
final_output.extend(_get_sql_for_pending_references(model, pending_references))
# Keep track of the fact that we've created the table for this model.
known_models.add(model)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment