Django

Code

Changeset 4209

Show
Ignore:
Timestamp:
12/15/06 12:07:20 (2 years ago)
Author:
adrian
Message:

Clarified docs/newforms.txt 'Migration plan' section

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/newforms.txt

    r4200 r4209  
    1414release, our plan is to do the following: 
    1515 
    16     * Move the current ``django.forms`` to ``django.oldforms``. This will allow 
    17       for an eased migration of form code. You'll just have to change your 
    18       import statements:: 
     16    * As of revision [4208], we've copied the current ``django.forms`` to 
     17      ``django.oldforms``. This allows you to upgrade your code *now* rather 
     18      than waiting for the backwards-incompatible change and rushing to fix 
     19      your code after the fact. Just change your import statements like this:: 
    1920 
    2021          from django import forms             # old 
    2122          from django import oldforms as forms # new 
    2223 
    23     * Move the current ``django.newforms`` to ``django.forms``. 
     24    * At an undecided future date, we will move the current ``django.newforms`` 
     25      to ``django.forms``. This will be a backwards-incompatible change, and  
     26      anybody who is still using the old version of ``django.forms`` at that 
     27      time will need to change their import statements, as described in the 
     28      previous bullet. 
    2429 
    2530    * We will remove ``django.oldforms`` in the release *after* the next Django 
    2631      release -- the release that comes after the release in which we're 
    27       creating ``django.oldforms``. 
     32      creating the new ``django.forms``. 
    2833 
    2934With this in mind, we recommend you use the following import statement when