Integrate Django into a static html website

Not so long ago I had to add some dynamic stuff to a static website, but I didn’t wanted to rewrite the whole website just because three or four pages and also didn’t wanted to use PHP (because nowadays I prefer to work with Django an Python over PHP and some framework, in other words, personal taste). This describes how I managed to mix the dynamic and static parts easily

I configured the server to use django into a directory , lets cal it webapp
so any request to /webapp/ will be answered by my django app
then used mod_rewrite to have some pages outside the /webapp/ directory served by my app
did you ever found a better way to do this?

About Esteban Soler

mi nombre es Esteban Soler, vivo en Mar del Plata, una ciudad costera en Argentina. Tengo 31 años y hace mas de 7 que me dedico al desarrollo de aplicaciones y sitios web. En general intento aplicar soluciones utilizando software libre solamente.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>