lundi 29 juillet 2019

Does recurrent render of the same template on the different views follow MVC pattern

I have part_of_my_view.html it loader.render_to_string('part_of_my_view.html', data) newly by classes

View1
View2
View3

data attribute can be slightly changed from view to view. Does recurrent render of the same template follow MVC pattern or should I make it render once in some `ParrentView'?

Aucun commentaire:

Enregistrer un commentaire