Add various imports
This commit is contained in:
parent
7eb5654d11
commit
4c2f2cd50e
1 changed files with 10 additions and 3 deletions
13
app/views.py
13
app/views.py
|
@ -1,16 +1,23 @@
|
|||
import csv
|
||||
import json
|
||||
import os
|
||||
import time
|
||||
|
||||
from django.contrib import messages
|
||||
from django.conf import settings
|
||||
from werkzeug.utils import secure_filename
|
||||
from django.views.generic.base import TemplateView
|
||||
from django.http import FileResponse , HttpResponsePermanentRedirect
|
||||
from django.core.files.storage import default_storage
|
||||
from django.core.files.base import ContentFile
|
||||
from django.views.decorators.csrf import csrf_protect
|
||||
from django.http import FileResponse, HttpResponsePermanentRedirect, HttpResponse
|
||||
from django.urls import reverse
|
||||
import os.path as ospath
|
||||
from shutil import move
|
||||
|
||||
from os import makedirs
|
||||
from tempfile import gettempdir
|
||||
from .formats import *
|
||||
from .convert import reindex_data
|
||||
from .convert import reindex_data, refresh_data
|
||||
|
||||
# Get temporary file storage
|
||||
UPLOAD_PATH = gettempdir()
|
||||
|
|
Loading…
Reference in a new issue