diff --git a/ietf/community/models.py b/ietf/community/models.py index fe1ce2fd6..394d084c6 100644 --- a/ietf/community/models.py +++ b/ietf/community/models.py @@ -172,15 +172,6 @@ class DisplayConfiguration(models.Model): super(DisplayConfiguration, self).delete() -class ExpectedChange(models.Model): - - community_list = models.ForeignKey(CommunityList) - document = models.ForeignKey(Document) - expected_date = models.DateField( - verbose_name='Expected date' - ) - - class EmailSubscription(models.Model): community_list = models.ForeignKey(CommunityList) email = models.CharField(max_length=200) diff --git a/ietf/community/resources.py b/ietf/community/resources.py index 03a73d835..3316fb8a7 100644 --- a/ietf/community/resources.py +++ b/ietf/community/resources.py @@ -29,22 +29,6 @@ class CommunityListResource(ModelResource): } api.community.register(CommunityListResource()) -from ietf.doc.resources import DocumentResource -class ExpectedChangeResource(ModelResource): - community_list = ToOneField(CommunityListResource, 'community_list') - document = ToOneField(DocumentResource, 'document') - class Meta: - queryset = ExpectedChange.objects.all() - serializer = api.Serializer() - #resource_name = 'expectedchange' - filtering = { - "id": ALL, - "expected_date": ALL, - "community_list": ALL_WITH_RELATIONS, - "document": ALL_WITH_RELATIONS, - } -api.community.register(ExpectedChangeResource()) - class DisplayConfigurationResource(ModelResource): community_list = ToOneField(CommunityListResource, 'community_list') class Meta: