Skip to content

Commit da4177e

Browse files
committed
Rename the nomcom public keys path setting.
- Legacy-Id: 6166
1 parent 3f37746 commit da4177e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/nomcom/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- coding: utf-8 -*-
1+
# -*- coding: utf-8 -*-
22
import os
33

44
from django.db import models
@@ -34,7 +34,7 @@ class ReminderDates(models.Model):
3434

3535

3636
class NomCom(models.Model):
37-
public_key = models.FileField(storage=FileSystemStorage(location=settings.PUBLIC_KEYS_URL),
37+
public_key = models.FileField(storage=FileSystemStorage(location=settings.NOMCOM_PUBLIC_KEYS_DIR),
3838
upload_to=upload_path_handler, blank=True, null=True)
3939

4040
group = models.ForeignKey(Group)

ietf/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307

308308
# NomCom Tool settings
309309
ROLODEX_URL = ""
310-
PUBLIC_KEYS_URL = '/a/www/nomcom/public_keys/'
310+
NOMCOM_PUBLIC_KEYS_DIR = '/a/www/nomcom/public_keys/'
311311
NOMCOM_FROM_EMAIL = DEFAULT_FROM_EMAIL
312312
NOMCOM_ADMIN_EMAIL = DEFAULT_FROM_EMAIL
313313
OPENSSL_COMMAND = '/usr/bin/openssl'

0 commit comments

Comments
 (0)