-
Notifications
You must be signed in to change notification settings - Fork 2
FAQ
karlbrink edited this page May 9, 2025
·
2 revisions
-
click on this button to start the dialog with the list of available wmc documents

-
the list of wmc is generated while the gui is loaded

-
you can define a reload of the list, so every time the button is clicked, the list is reloaded from the server
-
to achiev this, create an
element_varin the module:loadWMC_ButtonName: reinitializeLoadWmcValue: trueType: var (JavaScript Variable)
mkdir /var/tmp/django_cache
chown -R www-data /var/tmp/django_cache# ...
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
"LOCATION": "/var/tmp/django_cache",
}
}
# ...# ...
from django.views.decorators.cache import cache_page
# ...
@cache_page(60 * 15)
@check_browser
def index_view(request, wiki_keyword=""):
# ...searcher = Searcher(keywords="", result_target="", resource_set=[key], host=HOSTNAME, max_results=1)