If value in interval is not selected, i would like to use default one ( 1d )
# if i got post request
if request.method == "POST":
# check if interval is choosen in form
if 'interval' in request.POST:
interval= request.POST["interval"]
else:
interval = "1d"
if "ticker" in request.POST:
ticker= request.POST["ticker"]

the value of intervals is not check properly if is there
