I have determined that my local website hosting company cannot support Django.

  • They run Python 2.2.
  • No support for mod_python, FastCGI, or SCGI.
  • No support for mod_rewrite.

Any one of these simple prevent me from implementing my website like a Django application at this hosting service.

I recognize that my website is essentially static. I am wondering basically may use Django caching towards the filesystem, and deploy what's for the reason that cache. Otherwise use wget to recursively capture my website running on localhost. Has anybody carried this out type of operation? Is it feasible, and it is it well worth the effort?

I recognize which i have a minimum of two other available choices:

  • Make use of a PHP Content management systems solution.
  • Switch my domain to a different hosting service.

edit: Thanks everybody for that suggestions! I have sent a contact to my hosting provider to provide them an opportunity to offer me upgrading. When they can't come through, I am searching at WebFaction like a provider.

StaticGenerator for Django is what you need. It's made to pull Django sights and save them as static HTML files. It's generate an income publish my website (http://nedbatchelder.com).

Wget using the "-m" (mirror) switch is most likely what you are searching for. The "cleaner" method of carrying this out may be to simply take all the content that normally could be went by the context processor and by hand compose it to your templates.

Being an aside, this is a real bummer, guy. The dynamic character of Django is really a large element of what causes it to be so excellent. If you are not likely to make use of an absurd quantity of transfer (let us say >10 GB), I possibly could most likely host you free of charge.

I'd say change to another hosting service. There's really a french hosting service that supports Django and offers a totally free hosting package (however, you only get 10 Megabytes).

I have tried personally http://world wide web.httrack.com/ a couple of occasions to rip an engaged site to static html, is usually very good.

Useful for those who have something similar to Dreamweaver handy to check on all of the linkage when you are done, but is dependent how large it's.

Wget includes a recursive reflecting option... just google for Wget mirror.

Either make use of a PHP Content management systems solution or customize the host. How come complicate things even more? (the question for you is the reason for using Django (or any framework) for any mostly static site?)