I guess it will be in your views , if it's used in more than 1 def maybe
you can use a def who return your variable and use it in for loop to call
it many times.
El lun., 14 de octubre de 2019 10:27 a. m., Spiff
escribió:
> Hi, I'm reading up on how to properly output html. Let's say I have a
Hi, I'm reading up on how to properly output html. Let's say I have a row
for a table that would be useful in more than one method, is it a good idea
to define this as a constant, like so?
MONTH_ROW = '{1}\n'
--
You received this message because you are subscribed to the Google Groups
"Django
2 matches
Mail list logo