Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Webserver problems?
-
Hello Folks
Apologies if this is not a new thread but I couldn't seem to find one relevant to chip in.
has anyone else encountered problems with the pythonista server when rendering templates in flask and django?
There seems to be a poor rendering of CSS in both the inbuilt server and when using the local server on a different browser.
Is this a known problem?
Is there a known solution?
Cheers
Oz
-
Doesn't seem like a known problem. It could just be some temporary issue.
-
Can you elaborate more? Simple example, rendered with pythonista serving versus another server?
The built in webview uses the older UIWebview. A more modern equivalent is the WKWebView -- see the @mikael
Repo here https://github.com/mikaelho/pythonista-webviewOf course, if you are seeing the same issues with a proper desktop browser, then the problem is more likely that the css is not actually being served... Developer mode in chrome etc would let you figure out if the css is actually getting served properly. A common problem in pythonista is dealing with paths correctly.