|
|
|
@ -79,7 +79,7 @@ def new_view(request): |
|
|
|
writercsv = csv.writer(csvfile, delimiter=',', quotechar='|') |
|
|
|
writercsv = csv.writer(csvfile, delimiter=',', quotechar='|') |
|
|
|
writercsv.writerow(list) |
|
|
|
writercsv.writerow(list) |
|
|
|
except FileNotFoundError: |
|
|
|
except FileNotFoundError: |
|
|
|
os.mkdir(MEDIA_ROOT + '/analytics') |
|
|
|
os.makedirs(MEDIA_ROOT + '/analytics') |
|
|
|
redirect("/analytics/new/?start=" + start + "&end=" + end) |
|
|
|
redirect("/analytics/new/?start=" + start + "&end=" + end) |
|
|
|
|
|
|
|
|
|
|
|
return redirect("/analytics/?start=" + start + "&end=" + end) |
|
|
|
return redirect("/analytics/?start=" + start + "&end=" + end) |
|
|
|
|