Author Archives


8
Sep 08

clean_pyc and compile_pyc in Django-extensions

I recently added two new commands to the django-extensions project.

  • clean_pyc, removes all compiled python bytecode files from your project directory
  • compile_pyc, compiles all python files to bytecode files in your project directory

These are handy shortcuts to what you would normally do with something like "$ find -name "*.py[co]" -delete" or python's compileall import. The main added advantage is a little piece of code that checks the correct working directory. So it will only compile or delete files in your project root, even if you call manage.py from somewhere else.

One other thing to note is that you will always see files being deleted when you call "$ ./manage.py clean_pyc -v" this is because when manage.py gets loaded python will compile files in your project root which are then in turn deleted by the command ;-)

Check it out at: http://code.google.com/p/django-command-extensions/


6
Sep 08

Electro-House-Party

Originally the plan was to go and climb Mt. Fuji, but after getting on the train i was swept into this outdoors Electro/House party. I just love how Tokyo does this to you. Regretfully no pictures because it was very dark, so my compact didn't work so well.

This turned out very very well, specially because the weather was terrible and climbing without good gear in this weather would have been terrible. Hopefully i will still get the change somewhere in the coming weeks.

In good Japanese fashion the party was spread out over couple of fields, some with live acts (mostly young espirering artists) and other with DJ's. And lots of little stalls with foods and drinks in between.

Needless to say i really enjoyed myself :-)

Already wondering what the next week will bring...


5
Sep 08

Django 1.0 Released

Congratulations everybody Django 1.0 has landed

Thanks for all the hard work of the Django core team !!!


5
Sep 08

The First Post

Always a very important moment in history, when the first post happens :)