Multisite filters
This commit is contained in:
parent
ade8b189a4
commit
67e3fa0128
10 changed files with 199 additions and 63 deletions
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue