Avoid Django’s invalid HTTP_HOST error message

Avoid Django’s invalid HTTP_HOST error message

I have several Django projects published, and I constantly get my email inbox and log files inundated with errors of spiders and hack attempts to connect to my applications. Those error messages have the email subject: “[Django] ERROR (EXTERNAL IP): Invalid... My Python & Django deployment workflow and tools

My Python & Django deployment workflow and tools

//embedr.flickr.com/assets/client-code.js If you’re new to Python web development with Django, there are some things that tutorials don’t teach. Deploying to a server when you finish your local development can be a frustrating task. Here is a rundown of... Using Django models in external Python scripts

Using Django models in external Python scripts

Since Django 1.4 the syntax to import you models in external scripts has changed. The setup_environ method has been deprecated for a while and it no longer exists in Django 1.6. Assuming you’re using a virtualenv and your script is one directory outside the main...

From my reading links: HTML5 forms and Django, Google API playground and Python development tips

Making Forms fabulous with html5 Great introduction to the new HTML5 form input types and what you can do with them. HTML5 – Example Form validation and styling Form elements With the new HTML5 form input types and CSS3 properties, form validation is very quick... My 5 reasons to leave Ruby on Rails

My 5 reasons to leave Ruby on Rails

I’m stopping all my ruby on rails development. Its been a while since my last rails line was written and I will not continue to develop on that framework. Here are my reasons for this: Documentation and entry point price First of all, to get any serious...