Files
@ 835d482604b3
Branch filter:
Location: website/www/conservancy/settings.py - annotation
835d482604b3
1.2 KiB
text/x-python
No longer "stash" the GET object in self.
I don't think this was actually necessary ultimately. I think the older
code, herein removed, in item_author_email() was wrong-headed in the
first place, or at the very least, was overkill.
Each item has a distinct author, according to the BlogEntry model. So,
I think this is actually what we want. I noticed the author filed isn't
properly going into the RSS at the moment anyway, but I'm somewhat past
caring about that, as long as the URLs now work to get author- and tag-
specific feeds.
I don't think this was actually necessary ultimately. I think the older
code, herein removed, in item_author_email() was wrong-headed in the
first place, or at the very least, was overkill.
Each item has a distinct author, according to the BlogEntry model. So,
I think this is actually what we want. I noticed the author filed isn't
properly going into the RSS at the moment anyway, but I'm somewhat past
caring about that, as long as the URLs now work to get author- and tag-
specific feeds.
698e9324a683 fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e fb307d8cf29e c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 fb307d8cf29e c858e825c0f2 6992f63bb408 6992f63bb408 6992f63bb408 6992f63bb408 c858e825c0f2 c858e825c0f2 c858e825c0f2 c858e825c0f2 | # Copyright 2005-2008, James Garrison
# Copyright 2010, Bradley M. Kuhn
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute, modify and/or redistribute modified versions of
# this program under the terms of the GNU Affero General Public License
# (AGPL) as published by the Free Software Foundation (FSF), either
# version 3 of the License, or (at your option) any later version of the
# AGPL published by the FSF.
#
# This program 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 Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
from djangocommonsettings import *
SITE_ID = 2
ROOT_URLCONF = 'conservancy.urls'
FORCE_CANONICAL_HOSTNAME = "sfconservancy.org"
REDIRECT_TABLE = {
'www.sf-conservancy.org': 'sfconservancy.org',
}
try:
from djangodebug import conservancy_hostname as FORCE_CANONICAL_HOSTNAME
except:
pass
|