Multisite filters

This commit is contained in:
Iacopo Spalletti 2016-06-26 15:33:00 +02:00
commit 67e3fa0128
No known key found for this signature in database
GPG key ID: BDCBC2EB289F60C6
10 changed files with 199 additions and 63 deletions

View file

@ -154,6 +154,8 @@ class BaseTest(BaseTestCase):
for post in Post.objects.all():
post.sites.clear()
post.tags.clear()
post.categories.clear()
cache.clear()
super(BaseTest, self).tearDown()
def _get_category(self, data, category=None, lang='en'):