0
1

I’m an experienced web developer new to Django/Python.

Having set up OSQA running on Apache, I want to disable the Community Wiki feature, so I added

WIKI_ON = False

to my settings_local.py file. This has not had any effect (the 'community wiki' checkbox is still visible on the 'ask a question form', for example). Restarting Apache doesn’t make any difference.

How can I get this setting to take effect? Are the settings in settings_local.py cached somehow? I already have

CACHE_BACKEND = 'dummy://'

in my settings_local.py.

asked 12 Aug '10, 00:01

Kevin%20Yank's gravatar image

Kevin Yank
436111824
accept rate: 28%


The "wiki switch" has moved from the settings file to a live setting a while back. You can see it in the admin area, under "forum setting"/"Form settings".

And I know is not the most obvious place :)

EDIT:

And yes, settings are cached, there are actually two levels of caching for settings, since they are heavily used in every request.

link

answered 12 Aug '10, 00:47

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

edited 12 Aug '10, 00:48

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×30
×12
×11
×5

Asked: 12 Aug '10, 00:01

Seen: 393 times

Last updated: 12 Aug '10, 00:48

powered by OSQA