fix migrating doc

fix_request_path_info
Diederik van der Boor 2016-02-17 11:59:55 +01:00
parent 33af3a77bc
commit 39d2da9e68
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@ During the migrating, the ``polymorphic_ctype`` field needs to be filled in.
This can be done in the following steps: This can be done in the following steps:
1. Inherit your model from :class:`~polymorphic.models.PolymorphicModel` #. Inherit your model from :class:`~polymorphic.models.PolymorphicModel`.
2. Create a Django migration file to create the ``polymorphic_ctype_id`` database column. #. Create a Django migration file to create the ``polymorphic_ctype_id`` database column.
2. Make sure the proper :class:`~django.contrib.contenttypes.models.ContentType` value is filled in. #. Make sure the proper :class:`~django.contrib.contenttypes.models.ContentType` value is filled in.
Filling the content type value Filling the content type value
------------------------------ ------------------------------