tag: custom template tags

  • Fixing a silent bug in the input_class template filter

    Fixing a silent bug in the input_class template filter

    Maria D. Campbell

    In this post, I revisit a bug I found in a custom template tag in my Django Boards application. I readdress the bug, its behavior, add a fix, fix the fix and explain why.

    #fullstack development, #debug code, #django, #django boards, #series, #filters, #python3, #custom template tags

  • How to create a fullstack application using Django and Python Part 17

    How to create a fullstack application using Django and Python Part 17

    Maria D. Campbell

    In this section, I improve signup.html template design, add a logout view and route, create a dropdown menu for logged in users, create a login.html template, url, and redirect, create a reusable template, add non-field errors to login.html, create custom template tags to use in form.html, and test the template tags.

    #fullstack development, #macOS, #django, #bootstrap 5, #custom template tags, #python3, #series, #tests, #unittest