Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Flask - adding new page affects all other pages
Post: RE: Flask - adding new page affects all other page...

Thanks Buran, Yes you are correct, I have removed it and its working fine without it.
CMR Web Scraping & Web Development 15 5,708 Mar-28-2020, 04:13 PM
    Thread: Flask - adding new page affects all other pages
Post: RE: Flask - adding new page affects all other page...

Thanks Buran I will try that it would simplify my script rather than having a separate script for each. The line Output:data = request.form.to_dict('number') is strange, I am not good at Python as y...
CMR Web Scraping & Web Development 15 5,708 Mar-28-2020, 04:05 PM
    Thread: Flask - adding new page affects all other pages
Post: RE: Flask - adding new page affects all other page...

Hi Buran, Thanks again for your help, this is what I did and it works great. My classes being the same name were interfering with the functions. from flask import render_template, redirect, Flask, r...
CMR Web Scraping & Web Development 15 5,708 Mar-28-2020, 03:31 PM
    Thread: Flask - adding new page affects all other pages
Post: RE: Flask - adding new page affects all other page...

Thanks Buran, I really appreciate your help, I have been struggling with this for a while. I will try to amalgamate the router classes together, i had them together but i kept getting positional argu...
CMR Web Scraping & Web Development 15 5,708 Mar-28-2020, 02:30 PM
    Thread: Flask - adding new page affects all other pages
Post: RE: Flask - adding new page affects all other page...

This is the add vlan full script, router is the class in that script addvlan.py from netmiko import ConnectHandler import textfsm class router(object): def __init__(self,device_type,ip,user...
CMR Web Scraping & Web Development 15 5,708 Mar-28-2020, 02:21 PM
    Thread: Flask - adding new page affects all other pages
Post: RE: Flask - adding new page affects all other page...

I do understand what you mean with regards to stating parameters, the parameters are stated in the python program for the function in app.py. When I comment out the add vlan function in app.py, the a...
CMR Web Scraping & Web Development 15 5,708 Mar-28-2020, 02:13 PM
    Thread: Flask - adding new page affects all other pages
Post: RE: Flask - adding new page affects all other page...

hi Buran, Voicevlan is part of the add interface section and is not entered in the Add VLAN section, but the addVLAN section is looking for it. I don't know why they are intertwined when both are ena...
CMR Web Scraping & Web Development 15 5,708 Mar-28-2020, 01:39 PM
    Thread: Flask - adding new page affects all other pages
Post: Flask - adding new page affects all other pages

FLASK Error - Please help I am trying to run a script but while when I comment out add VLAN, the add interface works, when I comment out add interface.py then add vlan works. But when I enable both a...
CMR Web Scraping & Web Development 15 5,708 Mar-28-2020, 01:21 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020