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 = '<tr><td><a href="{0}">{1}</a></td></tr>\n'
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/49fb166f-4f6d-44a7-a57a-c575494e6394%40googlegroups.com.
No comments:
Post a Comment