feincms / feincms-elephantblog

A blog for FeinCMS
feinheit.ch/labs/
BSD 3-Clause "New" or "Revised" License
43 stars 38 forks source link

tags extension registering problem #38

Closed memee closed 10 years ago

memee commented 10 years ago

It's registered like that: Entry.register_extensions('feincms.module.extensions.datepublisher', 'elephantblog.extensions.tags',)

File "/Users/macio/.virtualenvs/rocket_cms/lib/python2.7/site-packages/feincms/extensions.py", line 74, in register_extensions
    '%r is an invalid extension.' % extension)
django.core.exceptions.ImproperlyConfigured:
 <function register at 0x1065c3c08> is an invalid extension.
matthiask commented 10 years ago

It seems Elephantblog's extensions aren't compatible with FeinCMS 1.9.x. The extensions are still using old-style register functions instead of feincms.extensions.Extension subclassing.

Example: https://github.com/feincms/feincms/blob/master/feincms/module/blog/extensions/tags.py

matthiask commented 10 years ago

Fixed by @sbaechler in https://github.com/feincms/feincms-elephantblog/commit/e1f49aa14cbdd6f12a2a2141261ca5d684443db9.

Thanks for your patience!