Set sites according to user permissions
This commit is contained in:
parent
74fbf071df
commit
80fb25dbd5
3 changed files with 84 additions and 4 deletions
|
|
@ -139,6 +139,7 @@ class BaseTest(BaseTestCase):
|
|||
cls.category_1.name = 'categoria 1'
|
||||
cls.category_1.save()
|
||||
cls.site_2 = Site.objects.create(domain='http://example2.com', name='example 2')
|
||||
cls.site_3 = Site.objects.create(domain='http://example3.com', name='example 3')
|
||||
cache.clear()
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue