[geany/www.geany.org] bf0f79: Re-add custom Grappelli and Filebrowser package names

Enrico Tröger git-noreply at xxxxx
Sat Jan 8 11:59:24 UTC 2022


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sat, 08 Jan 2022 11:59:24 UTC
Commit:      bf0f799e792f3f4da90e39c5573e60bbde269733
             https://github.com/geany/www.geany.org/commit/bf0f799e792f3f4da90e39c5573e60bbde269733

Log Message:
-----------
Re-add custom Grappelli and Filebrowser package names


Modified Paths:
--------------
    geany/settings.py

Modified: geany/settings.py
8 lines changed, 6 insertions(+), 2 deletions(-)
===================================================================
@@ -295,6 +295,10 @@
     'compressor.finders.CompressorFinder',
 )
 
+# Store these package names here as they may change in the future since
+# at the moment we are using custom forks of them.
+PACKAGE_NAME_FILEBROWSER = "filebrowser_safe"
+PACKAGE_NAME_GRAPPELLI = "grappelli_safe"
 
 ################
 # APPLICATIONS #
@@ -332,12 +336,12 @@
     # 3rd party
     "compressor",
     "django_extensions",
-    "filebrowser_safe",
-    "grappelli_safe",
     "honeypot",     # for pastebin
     "mezzanine_pagedown",
     "mezzanine_sync_pages.apps.MezzanineSyncPagesAppConfig",
     "shortener",
+    PACKAGE_NAME_FILEBROWSER,
+    PACKAGE_NAME_GRAPPELLI,
 )
 
 # List of middleware classes to use. Order is important; in the request phase,



--------------
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