Env: Django 1.5.1 + Django CMS 2.4.1 + Zinnia latest + my custom apps + custom Django CMS plugin
Basically I can extend the default Django (1.5.X) User model like D
There is very simple solution. Just need to register your custom user before importing CMSPlugin. Example:
from django.db import models from django.contrib.auth import models as auth_models from django.contrib.auth.models import AbstractUser class User(AbstractUser): telephone = models.CharField(max_length=100) email = models.CharField(max_length=100) auth_models.User = User from cms.models import CMSPlugin
Here is my summary of the further discussion at https://github.com/divio/django-cms/issues/1798.
There are four potential options:
User - though when I tried this, I got errors about clashes with related m2m fields. There are some further details on the above link which may help resolve this.User, and use the reverse relationship to access it.For my case, I am going to go with #3 in the short-run and #4 in the long-run.
Hope that helps!