ASKBOT / askbot-devel

Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Other
1.56k stars 627 forks source link

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

Open damascene opened 4 years ago

damascene commented 4 years ago

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 commented 3 years ago

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