PEP8 and code style cleanups.

This commit is contained in:
Roberto Rosario
2016-06-30 21:30:01 -04:00
parent aa56e8ae14
commit b6161e9d92
36 changed files with 38 additions and 84 deletions
-3
View File
@@ -4,7 +4,6 @@ from datetime import timedelta
import logging
from django.apps import apps
from django.conf import settings
from django.db import models
from django.utils.timezone import now
@@ -182,8 +181,6 @@ class RecentDocumentManager(models.Manager):
class TrashedDocumentManager(models.Manager):
def get_queryset(self):
DocumentType = apps.get_model('documents', 'DocumentType')
return super(
TrashedDocumentManager, self
).get_queryset().filter(in_trash=True)