equal
deleted
inserted
replaced
21 MODEL/VIEW TEMPLATE NAMING |
21 MODEL/VIEW TEMPLATE NAMING |
22 |
22 |
23 View templates are usually named some_view.html for a corresponding someView() |
23 View templates are usually named some_view.html for a corresponding someView() |
24 function and SomeViewForm form class. Since SomeView is likely to be a common |
24 function and SomeViewForm form class. Since SomeView is likely to be a common |
25 View name for multiple Models, Model-specific templates should be placed in |
25 View name for multiple Models, Model-specific templates should be placed in |
26 soc/<model> sub-directories. For example, the template used by the Profile |
26 soc/<model>/<view> sub-directories. |
27 view for the Person Model belongs in soc/person/profile.html. |
|
28 |
27 |