diff --git a/scipost/global_methods.py b/scipost/global_methods.py index 1115ac33f4b96fe12074bb93def181aad67ebee1..3510aef9ea26803d370bc4035445190599249f0e 100644 --- a/scipost/global_methods.py +++ b/scipost/global_methods.py @@ -1,9 +1,10 @@ -from django.contrib.auth.models import User +from .models import Contributor -from .models import * class Global(object): + ''' Is this thing really being used?''' @classmethod def get_contributor(cls, request): + '''This should be fixed within the user model itself?''' Contributor.objects.get(user=request.user)