mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-16 19:01:21 +02:00
Fix codestyle errors, use currying instead of lambdas for determing user access
This commit is contained in:
@ -2,10 +2,10 @@
|
||||
import sys
|
||||
from django.contrib.auth import get_user_model
|
||||
|
||||
User = get_user_model()
|
||||
|
||||
from helpdesk.models import Ticket, Queue, UserSettings
|
||||
|
||||
User = get_user_model()
|
||||
|
||||
|
||||
def get_staff_user(username='helpdesk.staff', password='password'):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user