JenMonk

Results 4 comments of JenMonk

try this /** * Prepare url * * @return void */ public function prepareUrl() { $script = dirname($this->server('SCRIPT_NAME')); $requestUri = $this->server('REQUEST_URI'); if (strpos($requestUri, '?')!==false) { list($requestUri,$queryString) = explode('?',$requestUri); } $this->url...

Instead of iteritems() it should just be items() in Python3.

Hi Marcuxyz tried that but didn't worked so I fixed it by changing def create_app(): app = Flask(__name__, template_folder='views')

yes, the folder structure is like that. I removed the template_folder='views' and now it is working. not sure why. but thanks for your time