aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-02-25 14:41:01 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-02-25 14:41:01 +0200
commit4b4041cd92b777cb72d30be38135459d91feb055 (patch)
tree95893e71eb228fb07702e8fa3cb2eae1bc25837a
parentc3ca6e3a44290e9d9a24e2e50509adce837de85e (diff)
downloadweb-4b4041cd92b777cb72d30be38135459d91feb055.tar.gz
web-4b4041cd92b777cb72d30be38135459d91feb055.tar.bz2
Document GCIDE-specific settings.
-rw-r--r--settings-sample.py33
-rw-r--r--static/gcide.css2
2 files changed, 25 insertions, 10 deletions
diff --git a/settings-sample.py b/settings-sample.py
index 5aa1aec..6f36e92 100644
--- a/settings-sample.py
+++ b/settings-sample.py
@@ -1,20 +1,21 @@
-# Django settings for Dicoweb project.
+# Django settings for GCIDE web page
#
-# This file is part of GNU Dico.
+# This file is part of GCIDE.
# Copyright (C) 2008-2010, 2012 Wojciech Polak
+# Copyright (C) 2012 Sergey Poznyakoff
#
-# GNU Dico is free software; you can redistribute it and/or modify
+# GCIDE is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
-# GNU Dico is distributed in the hope that it will be useful,
+# GCIDE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with GNU Dico. If not, see <http://www.gnu.org/licenses/>.
+# along with GCIDE. If not, see <http://www.gnu.org/licenses/>.
import os
SITE_ROOT = os.path.dirname (os.path.realpath (__file__))
@@ -88,13 +89,27 @@ INSTALLED_APPS = (
DICT_SERVERS = ('gnu.org.ua',)
DICT_TIMEOUT = 10
+# Authentication credentials for servers in DICT_SERVERS. Missing entry
+# means no authentication is needed/required for that server.
+# E.g.:
+# AUTH = { '127.0.0.1:12628' : { 'user' : 'gcide', 'password' : 'pass' } }
AUTH = {}
-# AUTH = { '127.0.0.1:12628' : { 'user' : 'gcide', 'password' : 'pass' } }
-
-DICT_TIMEOUT = 10
+# Set to the most recent GCIDE version
GCIDE_VERSION = 0.51
-GCIDE_FTP = "ftp://download.gnu.org.ua/pub/gcide"
+
+# GCIDE distribution directory.
+GCIDE_FTP = "ftp://gnu.org/gnu/gcide"
+
+# Assoc list of GCIDE distributions.
+# Mandatory Keys:
+# archive Filename of the archive.
+# size Its size
+# hash MD5 hash of the archive.
+# Optional Keys:
+# ftp Distribution directory. If absent GCIDE_FTP is assumed.
+# class Entry class. Only one value is meaningful so far: 'previous',
+# which means that it is an old release.
GCIDE_DISTRIBUTIONS = ( {'ftp': GCIDE_FTP,
'archive': 'gcide-0.51-rc1.tar.gz',
'size': '18M',
diff --git a/static/gcide.css b/static/gcide.css
index 5b4588c..9776c6a 100644
--- a/static/gcide.css
+++ b/static/gcide.css
@@ -203,4 +203,4 @@ div.topmargin {
display: block;
padding-left: 20px;
}
- \ No newline at end of file
+

Return to:

Send suggestions and report system problems to the System administrator.