Skip to content

Commit 3638781

Browse files
committed
New schema models have moved from redesign/ to ietf/; fix community sources accordingly.
- Legacy-Id: 4522
1 parent 590abee commit 3638781

4 files changed

Lines changed: 7 additions & 8 deletions

File tree

ietf/community/display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from django.db.models import Q
44
from ietf.ietfworkflows.utils import get_state_for_draft
55

6-
from redesign.doc.models import DocAlias, DocEvent
6+
from ietf.doc.models import DocAlias, DocEvent
77

88

99
class DisplayField(object):

ietf/community/rules.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
from ietf.community.utils import get_documents_with
44

5-
from redesign.doc.models import Document
6-
from redesign.group.models import Group
7-
from redesign.person.models import Person
5+
from ietf.doc.models import Document
6+
from ietf.group.models import Group
7+
from ietf.person.models import Person
88

99

1010
class RuleManager(object):

ietf/community/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
from django.conf import settings
44

5-
from redesign.doc.models import Document
6-
5+
from ietf.doc.models import Document
76

87
def search_files(files, text):
98
p = subprocess.Popen(['grep', "-l", text] + files, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

ietf/community/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
from ietf.community.models import CommunityList, Rule, EmailSubscription, ListNotification
1616
from ietf.community.forms import RuleForm, DisplayForm, SubscribeForm, UnSubscribeForm
17-
from redesign.group.models import Group
18-
from redesign.doc.models import Document, DocEvent
17+
from ietf.group.models import Group
18+
from ietf.doc.models import Document, DocEvent
1919

2020

2121
def _manage_list(request, clist):

0 commit comments

Comments
 (0)