Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove logic from templates where possible #96

Open
amstilp opened this issue Apr 6, 2022 · 0 comments
Open

Remove logic from templates where possible #96

amstilp opened this issue Apr 6, 2022 · 0 comments

Comments

@amstilp
Copy link
Contributor

amstilp commented Apr 6, 2022

See Chapter 14 of Two Scoops of Django 3.X.

So far I've been somewhat lazy when writing the templates and incorporating some logic into them. It would be better to move as much of this logic to the view/get_context_data as possible, so we can add tests for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant