Skip to content

Commit f8a01f5

Browse files
Vlad0n20antkryt
authored andcommitted
[ENG-8515] - Add management command to manual archive (CenterForOpenScience#11361)
* Add management command to manual archive * fix test * Fix lints * Fix tests
1 parent a3922be commit f8a01f5

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

admin/nodes/views.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
from datetime import datetime
22
from enum import Enum
33

4-
from django.utils import timezone
5-
from django.core.exceptions import PermissionDenied, ValidationError
6-
from django.urls import NoReverseMatch
4+
import pytz
75
from django.db import transaction
8-
from django.db.models import F, Case, When, IntegerField
96
from django.contrib import messages
107
from django.contrib.auth.mixins import PermissionRequiredMixin
118
from django.core.exceptions import PermissionDenied, ValidationError

0 commit comments

Comments
 (0)