Hello all,
I am interested in running the code of:
#!/usr/bin/python3
from wifi import Cell, Scheme
ssid = [cell.ssid for cell in Cell.all('wlan0')]
print(ssids)
with a view in Django and the results displayed in a drop down list. Here is the information about the WIfi module that I am using:
https://wifi.readthedocs.org/en/latest/
I am still trying to comprehend how the whole flow goes when creating views and I read that you can define a function in Django views and that should just about do it. I tried to write a function, but that did not work out so well. lol
Any help would be appreciated.
Thank you.