Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

Fix template debug warning on Category page #627

Open
duker33 opened this issue Apr 19, 2019 · 0 comments
Open

Fix template debug warning on Category page #627

duker33 opened this issue Apr 19, 2019 · 0 comments
Assignees
Labels
1 hour typical issue size. It's one pdd hour. Performer should spend about one astronomical hour for this i 2 performer can implement issue at his closest convenient time cleanup everything that do project stronger, flexible, reusable easy new teammates can start with such issues to become familiar with project

Comments

@duker33
Copy link
Contributor

duker33 commented Apr 19, 2019

Category page contains several debug warnings:

  • at h1
  • at text
  • at product siblings list

To enable template debug warnings put this code to your settings/local.py:

DEBUG = True

# to debug templates: https://stackoverflow.com/questions/8990224/make-django-templates-strict
TEMPLATES = [
    {
        **TEMPLATES[0],
        'OPTIONS': {
            **TEMPLATES[0]['OPTIONS'],
            'string_if_invalid': 'DEBUG WARNING: undefined template variable [%s] not found',
        }
    }
]

image
image
image

@duker33 duker33 added 1 hour typical issue size. It's one pdd hour. Performer should spend about one astronomical hour for this i 2 performer can implement issue at his closest convenient time take it any teammate can take this issue and start working with it easy new teammates can start with such issues to become familiar with project cleanup everything that do project stronger, flexible, reusable labels Apr 19, 2019
@ArtemijRodionov ArtemijRodionov self-assigned this Apr 19, 2019
@ArtemijRodionov ArtemijRodionov removed the take it any teammate can take this issue and start working with it label Apr 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 hour typical issue size. It's one pdd hour. Performer should spend about one astronomical hour for this i 2 performer can implement issue at his closest convenient time cleanup everything that do project stronger, flexible, reusable easy new teammates can start with such issues to become familiar with project
Projects
None yet
Development

No branches or pull requests

2 participants