[geany/www.geany.org] fd0672: Add "django-clearcache" to add a clear cache button to admin
Enrico Tröger
git-noreply at xxxxx
Wed Oct 28 22:59:36 UTC 2020
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Wed, 28 Oct 2020 22:59:36 UTC
Commit: fd06721a96ac47cd8427d995c4ee8b24712e78ea
https://github.com/geany/www.geany.org/commit/fd06721a96ac47cd8427d995c4ee8b24712e78ea
Log Message:
-----------
Add "django-clearcache" to add a clear cache button to admin
Modified Paths:
--------------
geany/settings.py
geany/urls.py
requirements.txt
Modified: geany/settings.py
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -299,6 +299,7 @@
################
INSTALLED_APPS = (
+ "clearcache",
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
@@ -424,6 +425,7 @@
"sites.Site",
"redirects.Redirect",
"conf.Setting",
+ (_("Clear Cache"), "clearcache_admin"),
)),
(_("Geany"), (
"latest_version.LatestVersion",
Modified: geany/urls.py
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -37,6 +37,7 @@
urlpatterns = i18n_patterns(
# Change the admin prefix here to use an alternate URL for the
# admin interface, which would be marginally more secure.
+ url('^admin/clearcache/', include('clearcache.urls')),
url("^admin/", include(admin.site.urls)),
)
Modified: requirements.txt
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1,6 +1,7 @@
Django<3.0,>=2.2
babel
mysqlclient
+django-clearcache
django-compressor
django-extensions
django-honeypot
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list