Changes between Version 4 and Version 5 of BackwardsIncompatibleChanges
- Timestamp:
- Aug 16, 2005, 5:38:38 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v4 v5 5 5 Of course, once we reach our first official release, we'll be strongly committed to backward compatibility. 6 6 7 This page lists all backwards-incompatible changes to Django so far , and the proposed backwards-incompatible changes.7 This page lists all backwards-incompatible changes to Django so far. 8 8 9 == Changes already made == 10 11 === Moved mod_python handler === 9 == Moved mod_python handler == 12 10 13 11 As of [169], using {{{django.core.handler}}} as a mod_python handler is deprecated. Use {{{django.core.handlers.modpython}}} instead. We will be removing {{{django.core.handler}}} for Django's first release. 14 12 15 == = Changed ordering syntax ===13 == Changed ordering syntax == 16 14 17 15 As of [292], syntax used for {{{order_by}}} (in the database API) and {{{ordering}}} (in models) has changed. … … 25 23 The old syntax is deprecated, and we'll stop supporting it for Django's first release. 26 24 27 == = Refactored meta.py ===25 == Refactored meta.py == 28 26 29 27 As of [378], {{{django/core/meta.py}}} has been converted to a package, {{{django/core/meta/}}}. If you're using a version of Django from before [378], make sure to delete {{{django/core/meta.pyc}}} and {{{django/core/meta.pyo}}}, if they exist. The existence of those files doesn't pose any known problems, but it's best to clean things up. 30 28 31 == = Changed edit_inline and edit_inline_type behavior ===29 == Changed edit_inline and edit_inline_type behavior == 32 30 33 31 As of [440], using {{{edit_inline_type}}} in your models is deprecated, in favor of a less-redundant approach that uses {{{edit_inline}}} itself. … … 41 39 We'll stop supporting the old syntax for Django's first release. 42 40 43 == = Changed admin log to store primary keys as TEXT fields, not INTEGER fields ===41 == Changed admin log to store primary keys as TEXT fields, not INTEGER fields == 44 42 45 43 As of [469], the {{{object_id}}} field in {{{django.models.auth.LogEntry}}} is a {{{TextField}}} instead of an {{{IntegerField}}}. We made this change to accomodate non-integer primary keys. … … 63 61 ALTER TABLE auth_admin_log MODIFY object_id TEXT; 64 62 }}} 65 66 == Possible upcoming changes ==67 68 === Model syntax ===69 70 This is the big one. Model syntax 'might' be changed dramatically before Django's first release, but this is still under debate. See #122 for full information and discussion.