askbot-devel icon indicating copy to clipboard operation
askbot-devel copied to clipboard

Unable to set Messages and pages - about, privacy policy, etc. in settings

Open damascene opened this issue 4 years ago • 1 comments

In settings there is an option to set content of about page, policy and other website pages. However it doesn't work. settings option: Messages and pages - about, privacy policy, etc. it doesn't have any effect on page content, it's always empty. the field is empty in the setting after updating.

damascene avatar Mar 01 '20 07:03 damascene

Page is in this section of the code:

Line 80 of askbot/views/meta.py

def about(request, template='static_page.html'):
    title = _('About %(site)s') % {'site': askbot_settings.APP_SHORT_NAME}
    data = {
        'title': title,
        'page_class': 'meta',
        'content': askbot_settings.FORUM_ABOUT
    }
    return render(request, template, data)

https://github.com/ASKBOT/askbot-devel/blob/0.11.x/askbot/views/meta.py

damascene avatar Sep 02 '20 15:09 damascene