mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-09 18:37:50 +00:00
PEP fixes
This commit is contained in:
1 parent
dcbd5d819c
commit
9a6cf259a6
2 files changed
+1
-6
No files matched your search
@@ -5,7 +5,6 @@ Provides helper functions used throughout the InvenTree project
|
||||
import io
|
||||
import json
|
||||
import os.path
|
||||
from datetime import datetime
|
||||
from PIL import Image
|
||||
import requests
|
||||
|
||||
|
||||
@@ -7,10 +7,6 @@ from __future__ import unicode_literals
|
||||
|
||||
from django.shortcuts import get_object_or_404
|
||||
|
||||
from django.core.validators import URLValidator
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
from django.http import JsonResponse
|
||||
from django.urls import reverse_lazy
|
||||
from django.views.generic import DetailView, ListView
|
||||
from django.forms.models import model_to_dict
|
||||
@@ -33,7 +29,7 @@ from .forms import EditSupplierPartForm
|
||||
from InvenTree.views import AjaxView, AjaxCreateView, AjaxUpdateView, AjaxDeleteView
|
||||
from InvenTree.views import QRCodeView
|
||||
|
||||
from InvenTree.helpers import DownloadFile, str2bool, TestIfImage, TestIfImageURL
|
||||
from InvenTree.helpers import DownloadFile, str2bool
|
||||
|
||||
|
||||
class PartIndex(ListView):
|
||||
|
||||
Reference in new issue
Block a user