mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-23 21:45:45 +02:00
Initial general clean-up of stuff
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
try:
|
||||
from django.contrib.auth import get_user_model
|
||||
except ImportError:
|
||||
from django.contrib.auth.models import User
|
||||
else:
|
||||
User = get_user_model()
|
||||
from django.contrib.auth import get_user_model
|
||||
|
||||
User = get_user_model()
|
||||
|
||||
|
||||
def get_staff_user(username='helpdesk.staff', password='password'):
|
||||
|
Reference in New Issue
Block a user