Rename the nomcom public keys path setting.

- Legacy-Id: 6166
This commit is contained in:
Henrik Levkowetz 2013-09-18 18:10:27 +00:00
parent 3f37746f05
commit da4177e1cd
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
import os
from django.db import models
@ -34,7 +34,7 @@ class ReminderDates(models.Model):
class NomCom(models.Model):
public_key = models.FileField(storage=FileSystemStorage(location=settings.PUBLIC_KEYS_URL),
public_key = models.FileField(storage=FileSystemStorage(location=settings.NOMCOM_PUBLIC_KEYS_DIR),
upload_to=upload_path_handler, blank=True, null=True)
group = models.ForeignKey(Group)

View file

@ -307,7 +307,7 @@ IDSUBMIT_ANNOUNCE_LIST_EMAIL = 'i-d-announce@ietf.org'
# NomCom Tool settings
ROLODEX_URL = ""
PUBLIC_KEYS_URL = '/a/www/nomcom/public_keys/'
NOMCOM_PUBLIC_KEYS_DIR = '/a/www/nomcom/public_keys/'
NOMCOM_FROM_EMAIL = DEFAULT_FROM_EMAIL
NOMCOM_ADMIN_EMAIL = DEFAULT_FROM_EMAIL
OPENSSL_COMMAND = '/usr/bin/openssl'