title: Can I use alias field names in django templates?
body: <p>I'm new to django and python...</p>
  
  <p>I have a model which includes 10 generic fields attrib_00 through attrib_09.</p>
  
  <p>I pass these fields as a context to a django template string.</p>
  
  <p>I would like to use more meaningful names in the template.</p>
  
  <p>The template strings are fetched from another model and I have in mind adding a field containing a comma delimited list of associated alias names. The idea being the first alias in list maps to attrib_00, the second to attrib_01...</p>
  
  <p>I'm thinking I need to modify the context before rendering so the generic keys are replaced with the alias's.</p>
  
  <p>Am I on the right track here? </p>
  
  <p>Is there a better way?</p>
  
  <p>Thanks,
  Ed</p>
  
  <p>P.S.</p>
  
  <p>(add comment button not working for me?)</p>
  
  <p>I don't really have any code yet. Maybe I should explain what I'm trying to acheive...</p>
  
  <p>I have an existing application written in delphi that helps me maintain a large number of ebay listings and I would like to emulate this as a django/python web application.</p>
  
  <p>Each product/listing belongs to a category and each category has a set of attributes. So for example trousers might have color, waist_size and leg_length. The number and type of attributes for each category varies but never exceeds 10.</p>
  
  <p>I can see how for example attrib_00 could be used for size in one category and say metal in another but then would be stuck with using the generic field names in the template.</p>
  
  <p>Just for info:- I guess I would be doing any looping in the view with multiple calls to the rendering process before returning a response?</p>