1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #23814 -- Documented apps refactored out of Django.

This commit is contained in:
Fabio Natali
2015-03-22 11:51:09 +00:00
committed by Tim Graham
parent 8f30556329
commit cb506aed2a
10 changed files with 51 additions and 115 deletions

View File

@@ -1,43 +0,0 @@
django.contrib.formtools
========================
A set of high-level abstractions for Django forms (:mod:`django.forms`).
Historically, Django shipped with ``django.contrib.formtools`` -- a collection
of assorted utilities that are useful for specific form use cases. This code is
now distributed separately from Django, for easier maintenance and to trim the
size of Django's codebase. In Django 1.8, importing from
``django.contrib.formtools`` will no longer work.
The new formtools package is named ``django-formtools``, with a main module
called ``formtools``. Version 1.0 includes the same two primary features that
the code included when it shipped with Django: a helper for form previews and a
form wizard view.
See the `official documentation`_ for more information.
.. _official documentation: http://django-formtools.readthedocs.org/
.. _formtools-how-to-migrate:
How to migrate
--------------
If you've used the old ``django.contrib.formtools`` package follow these
two easy steps to update your code:
1. Install version 1.0 of the third-party ``django-formtools`` package.
2. Change your app's import statements to reference the new packages.
For example, change::
from django.contrib.formtools.wizard.views import WizardView
to::
from formtools.wizard.views import WizardView
The code in version 1.0 of the new package is the same (it was copied directly
from Django), so you don't have to worry about backwards compatibility in terms
of functionality. Only the imports have changed.

View File

@@ -26,7 +26,6 @@ those packages have.
auth
contenttypes
flatpages
formtools/index
gis/index
humanize
messages