I'm trying to access the query string embedded in the URL from brython. ( i.e.
http://foo.com/qwe?custID=myshop) but when I use the method below, it always returns none and if I Change the code toaccess the key value directly, it throws an exception saying the keyvalue doesn't exist.
def customer_ID_query ():
"""to see if there was a customer ID past on the URL and return the
value or None
"""
customer_ID_value = document.query.getvalue("custID", None)
return customer_ID_value
2 questions are: what am I missing and how do I debug this?