My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Earlier this year

  • May 04, 2009
    issue 2 (Smarter template search for representations, with defaults f...) reported by develbob   -   I have made a small patch to the code so that representations do not have to recide in a single place. Using this patch the template used to render the representation is chosen from the first existing file from the following template paths: representations/app_label/model_name/[template] or representations/app_label/[template] or representations/[template] (whichever comes first) {% represent [model] as "[template]" %} This allows you to have default templates for applications, models or just in general.
    I have made a small patch to the code so that representations do not have to recide in a single place. Using this patch the template used to render the representation is chosen from the first existing file from the following template paths: representations/app_label/model_name/[template] or representations/app_label/[template] or representations/[template] (whichever comes first) {% represent [model] as "[template]" %} This allows you to have default templates for applications, models or just in general.
  • May 04, 2009
    issue 1 (Smarter template search for representations, with defaults f...) reported by develbob   -   I have made a small patch to the code so that representations do not have to recide in a single place. Using this patch the template used to render the representation is chosen from the first existing file from the following template paths: representations/app_label/model_name/[template] or representations/app_label/[template] or representations/[template] (whichever comes first) {% represent [model] as "[template]" %} This allows you to have default templates for applications, models or just in general.
    I have made a small patch to the code so that representations do not have to recide in a single place. Using this patch the template used to render the representation is chosen from the first existing file from the following template paths: representations/app_label/model_name/[template] or representations/app_label/[template] or representations/[template] (whichever comes first) {% represent [model] as "[template]" %} This allows you to have default templates for applications, models or just in general.
 
Hosted by Google Code