Thursday, August 25, 2011

django themes

Hi,

I'm looking a solution to have themes in django like in wordpress.
Currently, I'm starting implement it by myself. But I face some issue namely.

In wordpress all themes files: php, html, css, javascript, images are in one folder.
So we only need to upload these files in one folder and it works.

When I do the same in django, namely under my /templates folder I have /myfirsttheme folder which contains all files for the theme, incl. css.
But accessing the css does not work. So I copied the css to my /static folder as well.

How can I set django to access the css, javascript, image files from my /myfirstthme folder?

regards
Steve

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment