Ticket #5289: se_python23_fix.patch

File se_python23_fix.patch, 522 bytes (added by guru_yaya@…, 17 years ago)

A fix for schema evolution

  • django/core/schema_evolution.py

     
    66import os, re, shutil, sys, textwrap
    77import management
    88
     9try:
     10    set
     11except NameError:
     12    from sets import Set as set   # Python 2.3 fallback
    913
    1014def get_sql_evolution_check_for_new_fields(klass, new_table_name):
    1115    "checks for model fields that are not in the existing data structure"
Back to Top