add editor for page icons
@@ -14,6 +14,9 @@ from cmsplugin_cascade.link.forms import format_page_link
@admin.register(CascadePage)
class CascadePageAdmin(PageExtensionAdmin):
+ def get_fields(self, request, obj=None):
+ return ['icon_font']
+
def get_urls(self):
urls = [
url(r'^get_page_sections/$', lambda: None, name='get_page_sections'), # just to reverse
