Hi Waqqas, > Ideally, yes, the design should only by in CSS, but how about we want to > make a theme for mobile user? The contents of the page (html) can not be the > same. > Having different html for theme helps in incorporating different CSS.
I working on a CMS that uses that idea. I have theme instance choosed by the user. Each theme have his base.html file. The application templates should be aware of the base.html structure and replace title, content and css when needed. I also written a tamplate tag for make the "theme media path" for each file, this way, I don't need to tell some css file is in /media/themes/ theme1/file.css, I just refer to {% theme_media 'file1.css' %}. This will be usefull if I separe the media on another server/domain. Best regards, -- Michel Sabchuk http://turbosys.com.br/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.