Permalink
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...
1 parent edf68be commit bb1cb76dfbd9cdbe820e1f117fec007269528b2a @freakboy3742 freakboy3742 committed Jul 21, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit bb1cb76

Please sign in to comment.