django-orchestra/orchestra/apps/systemusers/backends.py

18 lines
456 B
Python
Raw Normal View History

2014-07-25 15:17:50 +00:00
import textwrap
2014-07-11 14:48:46 +00:00
from django.utils import timezone
2014-05-08 16:59:35 +00:00
from django.utils.translation import ugettext_lazy as _
from orchestra.apps.accounts.backends import MainUserBackend, MainFTPTraffic
2014-05-08 16:59:35 +00:00
class SystemUserBackend(MainUserBackend):
verbose_name = _("System user")
model = 'systemusers.SystemUser'
ignore_fields = []
2014-05-08 16:59:35 +00:00
2014-07-09 16:17:43 +00:00
class SystemUserFTPTraffic(MainFTPTraffic):
model = 'systemusers.SystemUser'
verbose_name = _('System user FTP traffic')