Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed keyboard slip that was accidentally committed

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bb1cb76dfbd9cdbe820e1f117fec007269528b2a 1 parent edf68be
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/management.py
View
2  django/core/management.py
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.