aldryn / aldryn-blog

aldryn-blog IS DEPRECATED. PLEASE USE aldryn-newsblog!
Other
20 stars 35 forks source link

Please repair model 'Post' :) #52

Closed witold-gren closed 10 years ago

witold-gren commented 10 years ago

Hi, I'm use custom model in django cms and your plugin. Please add this line in models:

...
from .utils import generate_slugs, get_blog_authors, get_slug_for_user

User = getattr(settings, 'AUTH_USER_MODEL', User)
...

This code repairs the problem of its own the user class. :)