Skip to content
Snippets Groups Projects
Unverified Commit fe61a3cd authored by Ayub's avatar Ayub Committed by GitHub
Browse files

Merge pull request #21712 from edx/BOM-574

BOM-574
parents 04f3739f 22916323
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,12 @@ Custom user-related utility code. ...@@ -3,9 +3,12 @@ Custom user-related utility code.
""" """
from __future__ import absolute_import from __future__ import absolute_import
import six
from django.contrib.auth.models import AnonymousUser from django.contrib.auth.models import AnonymousUser
@six.python_2_unicode_compatible
class SystemUser(AnonymousUser): class SystemUser(AnonymousUser):
""" """
A User that can act on behalf of system actions, when a user object is A User that can act on behalf of system actions, when a user object is
...@@ -15,5 +18,5 @@ class SystemUser(AnonymousUser): ...@@ -15,5 +18,5 @@ class SystemUser(AnonymousUser):
has no primary key. has no primary key.
""" """
# pylint: disable=abstract-method # pylint: disable=abstract-method
def __unicode__(self): def __str__(self):
return u'SystemUser' return u'SystemUser'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment