Skip to content

Commit 1b8e9eb

Browse files
committed
Get rid of ExpectedChange model in community lists, it's not used
- Legacy-Id: 10681
1 parent cd5c60c commit 1b8e9eb

2 files changed

Lines changed: 0 additions & 25 deletions

File tree

ietf/community/models.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,6 @@ def delete(self):
172172
super(DisplayConfiguration, self).delete()
173173

174174

175-
class ExpectedChange(models.Model):
176-
177-
community_list = models.ForeignKey(CommunityList)
178-
document = models.ForeignKey(Document)
179-
expected_date = models.DateField(
180-
verbose_name='Expected date'
181-
)
182-
183-
184175
class EmailSubscription(models.Model):
185176
community_list = models.ForeignKey(CommunityList)
186177
email = models.CharField(max_length=200)

ietf/community/resources.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,6 @@ class Meta:
2929
}
3030
api.community.register(CommunityListResource())
3131

32-
from ietf.doc.resources import DocumentResource
33-
class ExpectedChangeResource(ModelResource):
34-
community_list = ToOneField(CommunityListResource, 'community_list')
35-
document = ToOneField(DocumentResource, 'document')
36-
class Meta:
37-
queryset = ExpectedChange.objects.all()
38-
serializer = api.Serializer()
39-
#resource_name = 'expectedchange'
40-
filtering = {
41-
"id": ALL,
42-
"expected_date": ALL,
43-
"community_list": ALL_WITH_RELATIONS,
44-
"document": ALL_WITH_RELATIONS,
45-
}
46-
api.community.register(ExpectedChangeResource())
47-
4832
class DisplayConfigurationResource(ModelResource):
4933
community_list = ToOneField(CommunityListResource, 'community_list')
5034
class Meta:

0 commit comments

Comments
 (0)