Skip to content

Instantly share code, notes, and snippets.

@caramdache
caramdache / django-tinymce-multiple-editors.md
Last active August 23, 2022 07:31
Django efficient multi-editors using tinymce

admin.py

from django.contrib import admin
from django.contrib.admin import widgets

@admin.register(MyModel)
class MyModelAdmin(admin.ModelAdmin):
    change_form_template = "tinymce/change_form.html"
 change_list_template = "tinymce/change_list.html"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>15B30a</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>Ubibase</string>