mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
oops. finished update on rename
This commit is contained in:
parent
1638f97d0c
commit
44b6770b6a
@ -242,8 +242,8 @@ def scanupload(request, wallet=None):
|
||||
if request.method == 'POST':
|
||||
form = FilesForm(request.POST,request.FILES)
|
||||
if form.is_valid():
|
||||
f = request.FILES["scanfiles"]
|
||||
multiple = request.FILES.getlist('scanfiles')
|
||||
f = request.FILES["uploadfiles"]
|
||||
multiple = request.FILES.getlist('uploadfiles')
|
||||
fs = FileSystemStorage(os.path.join(settings.SURVEY_SCANS, year, wallet))
|
||||
|
||||
actual_saved = []
|
||||
@ -307,8 +307,8 @@ def dwgupload(request, folder=None):
|
||||
if request.method == 'POST':
|
||||
form = FilesForm(request.POST,request.FILES)
|
||||
if form.is_valid():
|
||||
f = request.FILES["scanfiles"]
|
||||
multiple = request.FILES.getlist('scanfiles')
|
||||
f = request.FILES["uploadfiles"]
|
||||
multiple = request.FILES.getlist('uploadfiles')
|
||||
fs = FileSystemStorage(os.path.join(settings.DRAWINGS_DATA, folder))
|
||||
|
||||
actual_saved = []
|
||||
|
2
urls.py
2
urls.py
@ -11,7 +11,7 @@ from django.urls import reverse, resolve
|
||||
from troggle.core.views import caves, statistics, survex
|
||||
from troggle.core.views.scans import scansingle, singlewallet, allwallets
|
||||
from troggle.core.views.drawings import dwgallfiles, dwgfilesingle
|
||||
from troggle.core.views.drawings import dwgfileupload
|
||||
#from troggle.core.views.drawings import dwgfileupload
|
||||
from troggle.core.views.other import dwgupload
|
||||
from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage, scanupload
|
||||
from troggle.core.views.other import exportlogbook
|
||||
|
Loading…
Reference in New Issue
Block a user