We need a naming convention for HTML partials #3368
podliashanyk
started this conversation in
Polls
Replies: 1 comment 2 replies
-
|
There are two types of partials to consider: those controlled by us, and those not. Those not include the ones django uses to render default form inputs, and whatever templates are in 3rd party apps. As for /fragments, where? One for all of nav, one per directory, one per app? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
See comments in #2883, starting with #2883 (review).
As mentioned there, we have 4 different ways to indicate partials in NAV:
_(single underline)-frag-partial/fragmentsdirectoryPlease, do comment on the reasons why you prefer some options over the other if you have strong opinion on the matter.
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions