DEV Community

Wesley Ruede
Wesley Ruede

Posted on

Moving onto the next project

https://github.com/wesley-ruede/product-hunt

So this one is gonna be a lot more complex as it will have user authentication and the html will be a lot cleaner as it will be extensible. As I get further through it and I go into the actual process of hosting it, I'll update it. That an all I learn.

For loops in dictionaries to allow Python to work its 'magic' in the framework:

This piece of code will parse in data from the other html document to organize it. Having to replicate the nav bar and make all changes by hand can be kinda quirky and/or time consuming. The solution is to use the for loop to extend this data as such:

and this will take all the data between the block content and endblock, and pass that back to the base.html. As I learn new techniques I'll post them here.

Top comments (0)