Forums

Adding templates to my Python code/ code to my templates

I have a few basic Python projects I'd like to add to a PythonAnywhere site.

I've followed PA tutorials and I now have a site with some working code - but the pages are very plain.

I can create templates for pages - but without any Python code. Or code without a template, but not both!

Can anyone suggest a tutorial or resource for how I create a decent looking page that has a working app in it? Do I need to learn all about Flask and jinja? I'm not that interested in front end, I just want to show off my code :-)

Thanks!

You will need to develop some interest in frontend if you want to show something. Fortunately there are many css frameworks that could provide some decent styling for you.