Package: django-inplaceedit-extra-fields
Contentsdjango-inplaceedit-extra-fieldsInformationRequirementsDemo (this video use a very old version of django-inplaceedit and django-inplaceedit-extra-fields)InstallationIn your settings.pyWhy these fields are not in django-inplaceedit?AdaptorAutoCompleteForeingKeyField and AdaptorAutoCompleteManyToManyFieldAdaptorImageThumbnailFieldAdaptorTinyMCEField and AdaptorSimpleTinyMCEFieldTestingDevelopment0.7.1  (2016-04-22)0.7.0  (2016-04-21)0.6.1  (2015-08-30)0.6.0  (2015-08-30)0.5.0  (2013-10-04)0.4.1  (2013-09-17)0.4.0  (2013-09-17)0.3.2  (2013-09-17)0.3.1  (2013-09-17)0.3.0  (2013-09-16)0.2.4  (2013-10-04)0.2.3  (2013-09-17)0.2.2  (2013-09-17)0.2.1  (2013-09-15)0.2.0  (2013-09-10)0.1.1  (2013-09-06)0.1.0  (2013-09-05)0.0.9  (2013-09-05)0.0.8  (2012-11-12)0.0.7  (2012-08-21)0.0.6  (2012-05-22)0.0.5  (2012-05-22)0.0.4  (2011-12-13)0.0.3  (2011-12-09)0.0.2  (2011-12-08)0.0.1  (2011-12-08)django-inplaceedit-extra-fieldsInformationdjango-inplaceedit-extra-fields is a Django application that adds other useful fields todjango-inplaceedit.It is distributed under the terms of theGNU Lesser General Public
License.Requirementsdjango-inplaceedit(>= 1.4.1)And other packages, depending on which fields you want to use (see below).Demo (this video use a very old version of django-inplaceedit and django-inplaceedit-extra-fields)Video Demo, ofdjango-inplaceedit, django-inplaceedit-extra-fields anddjango-inlinetrans(Set full screen mode to view it correctly)InstallationAfter installingdjango-inplaceedit eggIn your settings.pyINSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.admin',
    #.....................#
    'inplaceeditform',
    'inplaceeditform_extra_fields',
)If you want to overwrite the adaptors for all cases in your project:ADAPTOR_INPLACEEDIT = {'textarea': 'inplaceeditform_extra_fields.fields.AdaptorTinyMCEField',
                       #'textarea': 'inplaceeditform_extra_fields.fields.AdaptorSimpleTinyMCEField',
                       'image': 'inplaceeditform_extra_fields.fields.AdaptorImageThumbnailField',
                       'fk': 'inplaceeditform_extra_fields.fields.AdaptorAutoCompleteForeingKeyField',
                       'm2mcomma': 'inplaceeditform_extra_fields.fields.AdaptorAutoCompleteManyToManyField'}If you want, you can register these fields in your settings with different keys:ADAPTOR_INPLACEEDIT = {'auto_fk': 'inplaceeditform_extra_fields.fields.AdaptorAutoCompleteForeingKeyField',
                       'auto_m2m': 'inplaceeditform_extra_fields.fields.AdaptorAutoCompleteManyToManyField',
                       'image_thumb': 'inplaceeditform_extra_fields.fields.AdaptorImageThumbnailField',
                       'tiny': 'inplaceeditform_extra_fields.fields.AdaptorTinyMCEField',
                       'tiny_simple': 'inplaceeditform_extra_fields.fields.AdaptorSimpleTinyMCEField'}And after that, to want use a specific adaptor you can pass it to the templatetag, e.g.:{% inplace_edit "content.field_name" adaptor="tiny" %}Why these fields are not in django-inplaceedit?They depend on the other eggsThey are a specific solutionThese do not work immediately, you have to code themAdaptorAutoCompleteForeingKeyField and AdaptorAutoCompleteManyToManyFieldThese fields depend ondjango-ajax-selects (1.3.6). You have to create a channel (lookup){% inplace_edit "content.field_name" adaptor="auto_fk", lookup="my_lookup" %}For more info, visit thedoc of django-ajax-selectsIt is recomended you overwrite the following templates:inc.css_library.htmlinc.js_library.htmlAdaptorImageThumbnailFieldThis field depends onsorl-thumbnail (12.3). You just need to specify the thumb size.{% inplace_edit "content.field_name" adaptor="image_thumb", size="16x16" %}It can help you, configure in your settings:THUMBNAIL_DEBUG = TrueFor more info, visit thedoc of sorl-thumbnailAdaptorTinyMCEField and AdaptorSimpleTinyMCEField{% inplace_edit "content.field_name" adaptor="tiny" %}
or
{% inplace_edit "content.field_name" adaptor="tiny_simple" %}NoteWe use tinyMCE 4.0 without changes (from django-inplaceedit-extra-fields==0.3.0), if you want to use another version (4.X) of tinyMCE set INPLACE_TINYMCE_JS in your settings.INPLACE_TINYMCE_JS = '/my/path/of/tinyMCE'If you want to use a tinyMCE 3.X, please usedjango-inplaceedit-extra-fields==0.2.4TestingYou can test it with thetesting project of django-inplaceeditor with thetesting project of django-inplaceedit-bootstrapDevelopmentYou can get the bleeding edge version of django-inplaceedit-extra-fields by doing a clone
of its repository:git clone git@github.com:django-inplaceedit/django-inplaceedit-extra-fields.git0.7.1  (2016-04-22)Fix tinyMCE url warning0.7.0  (2016-04-21)Django 1.9 suport: Thanks toPaul Stenius0.6.1  (2015-08-30)Detail0.6.0  (2015-08-30)Django 1.7 and Django 1.8 suportPython 3 support for every adaptorUpgrade tinyMCE versionUpgrade django-ajax-select versionUpgrade jQuery-ui version (used in AdaptorAutoCompleteForeingKeyField AdaptorAutoCompleteManyToManyField)Upgrade sorl-thumbnail0.5.0  (2013-10-04)Support to python2.6 (this was not supported from django-inplaceedit-extra-fields>=0.0.9 to django-inplaceedit-extra-fields<0.5.0)0.4.1  (2013-09-17)Improvements in AdaptorSimpleTinyMCEField and AdaptorTinyMCEField0.4.0  (2013-09-17)Add AdaptorSimpleTinyMCEField adaptor0.3.2  (2013-09-17)Improvements in the README file0.3.1  (2013-09-17)Improvements in the README file0.3.0  (2013-09-16)AdaptorTinyMCEField now usetinyMCE 4.XNot the AdaptorTinyMCEField, AdaptorAutoCompleteForeingKeyField and AdaptorAutoCompleteManyToManyField use the static file recolector, new in django-inplaceedit==1.2.10.2.4  (2013-10-04)Support to python2.6 (this was not supported from django-inplaceedit-extra-fields>=0.0.9 to django-inplaceedit-extra-fields<=0.2.3)0.2.3  (2013-09-17)Improvements in the README file0.2.2  (2013-09-17)Improvements in the README file0.2.1  (2013-09-15)Fix an error in AdaptorTinyMCEField when the inplace edit item was very little (its width was very little)Update the tinyMCE to last version (3.X)0.2.0  (2013-09-10)Improvements in AdaptorTinyMCEField, and adapt the code to the new features of django-inplaceedit==1.2Improvements in the README file0.1.1  (2013-09-06)Update the metainfo0.1.0  (2013-09-05)Fix an error in IE browser with the AdaptorTinyMCEField0.0.9  (2013-09-05)Python 3 compatible (Only AdaptorTinyMCEField, django-ajax-fields and sorl.thumbnail are not python3 compatibles)django-inplaceedit (1.0.0) compatibledjango 1.2 supportImprovements in the READMEFix some detailsFix some grammar in README: Thanks toFlavio Curella0.0.8  (2012-11-12)Fix a little error of the tinyMCE adaptor: Thanks toYuego0.0.7  (2012-08-21)Improve the tinyMCE field, modify the settings of the tinyMCE for can do a real inplaceedit, the layout must be the same with the tinyMCE and with a piece of HTML:Now The tinyMCE automatically load the css of the viewCreate a normalize css, there is a problem with the first element of the documents of the iframeNow you can overwrite the extra_mce_settings from settingsNow I can load some css and not load the content.css of the tinyMCERemove the csmutils dependenceAdapt the code to the new option in django-inplaceedit (autosave)Improve the inplace_edit plugin of the tinyMCE editorUpdate tinyMCE to last release0.0.6  (2012-05-22)Uncouple cmsutils of the tinyMCE widget overwriting two methods0.0.5  (2012-05-22)Now django-inplaceedit-extra-fields managingstatic files(backward compatible)0.0.4  (2011-12-13)Fixes a error in tinyMCE adaptor when the user has not edit permissionAdd MANIFEST.in. Until now, the egg is impossible that work0.0.3  (2011-12-09)More easy overwrite the jquery-uiMore clean the code of tiny field0.0.2  (2011-12-08)Complete the README0.0.1  (2011-12-08)First version to AdaptorAutoCompleteForeingKeyField and AdaptorAutoCompleteManyToManyFieldFirst version to AdaptorImageThumbnailFieldFirst version to AdaptorTinyMCEField