From 21820acecd07edd34a83162a3e57a511e0bcab1e Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 5 Apr 2021 21:14:22 -0400 Subject: [PATCH] import User model into core models for convenience --- archivebox/core/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/archivebox/core/models.py b/archivebox/core/models.py index b359ce48..2ff2273d 100644 --- a/archivebox/core/models.py +++ b/archivebox/core/models.py @@ -7,6 +7,7 @@ from django.utils.functional import cached_property from django.utils.text import slugify from django.core.cache import cache from django.db.models import Case, When, Value, IntegerField +from django.contrib.auth.models import User # noqa from ..config import ARCHIVE_DIR, ARCHIVE_DIR_NAME from ..system import get_dir_size