Skip to content

Tag: python

Flexible Javascript arguments, like Python’s *args

When I started working with Python, *args was very handy and I started to miss it in my Javascript projects. Only recently, I found out you can get an arguments object of the function's arguments like this: Read More »

Preventing IOerror on stdout with modWSGI

By default, you can't use prints in a django app, because mod_wsgi restricts that. You can change that by putting this in your configuration: Read More »

Disabling debug for mod wsgi

For the record, when deploying mod wsgi apps, remember to enable optimizations in mod_wsgi.conf. Otherwise debug will be true.

Read More »