mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
@@ -12,6 +12,7 @@ from .models import (Band, Song, SongInlineDefaultOrdering,
|
||||
class MockRequest(object):
|
||||
pass
|
||||
|
||||
|
||||
class MockSuperUser(object):
|
||||
def has_perm(self, perm):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user