old_contents: from __future__ import absolute_import
  from django.db import models
  from tinymce import HTMLField
  
  
  class TestModel(models.Model):
      """
      A model for testing TinyMCE 4 rendering
      """
      content = HTMLField(verbose_name='HTML Content')
  
  
  class TestChildModel(models.Model):
      """
      A model for testing TinyMCE 4 rendering in admin inlines
      """
      content = HTMLField(verbose_name='HTML Child Content')
      parent = models.ForeignKey(TestModel)
  
new_contents: from __future__ import absolute_import
  from django.db import models
  from tinymce import HTMLField
  
  
  class TestModel(models.Model):
      """
      A model for testing TinyMCE 4 rendering
      """
      content = HTMLField(verbose_name='HTML Content')
  
  
  class TestChildModel(models.Model):
      """
      A model for testing TinyMCE 4 rendering in admin inlines
      """
      content = HTMLField(verbose_name='HTML Child Content')
      parent = models.ForeignKey(TestModel, on_delete=models.CASCADE)
  
subject: Fix tests with Django 2.0