Sorry to be unclear... Basically the functionality I want is just like 
in contrib.flatpages -- the model has a field called 'template' that 
allows the user to specify an alternate template for the object detail page. 
But in the flatpages app, the field is just a charfield, so the user has to 
know which templates are available, then enter something like 
'flatpages/some_template.hrml' in the field.
I want to make it a choice field that justs lists all the files in, for 
example, 'templates/flatpages/page_templates/', so the user can see what 
templates are available and just choose one from a select list.

Don't need to create templates dynamically or store them in the db.

Thanks for your patience.

Patrick



On Feb 10, 2012 2:00 PM, Python_Junkie <software.buy.des...@gmail.com> 
wrote: 

I am not sure that I follow you.



When you mention creating new templates (you would be creating these

dynamically?) and have them show up in your database (model?)



Please explain or provide an example


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to