Categories
Programming & Web Development

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 HTTP_HOST …”. This is due to a Django’s security setting ALLOWED_HOSTS to prevent attacks. […]

Categories
GNU/Linux Free Software & Open Source Programming & Web Development

My Python & Django deployment workflow and tools

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 the tools and workflow I use for deploying a Django based website. A few days ago when I […]

Categories
Programming & Web Development

How to use Django models in external Python scripts

a quick copy/paste solution to integrate your django models in an external python script

Categories
Bookmarks Programming & Web Development

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 and easy, as well as nice form element presentation. Head […]

Categories
GNU/Linux Free Software & Open Source Programming & Web Development

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 documentation on how to use the framework, you […]