Stuff in ‹code›

  1. Suspicious SuspiciousOperation Exceptions

    Thu 09 April 2009 · Tags:

    Using Apache and Django is throwing SuspiciousOperation Exception in your face and you have no idea why? Chances are you are using absolute paths. Django doesn't like that. It expects you to be a good boy/girl and put all your stuff under MEDIA_ROOT with relative paths. Everything else ...

    Read Full Post

  2. Going South

    Tue 10 February 2009 · Tags:

    Okay so after taking a few hours to find out how to get a unique SlugField into the database per South here's what I found out:

    Adding the unique index is the last thing South does in a forward migration. That means all you need is a few lines ...

    Read Full Post

  3. Database Switcheroo

    Tue 06 January 2009 · Tags:

    Switching the database is quite fun with Django. In my case I'm slowly migrating my sites from MySQL to Postgres.

    1. manage dumpdata will produce a database independent XML or JSON dump
    2. manage syncdb will take care of producing a almost empty database skeleton
    3. the tables auth_permission and django_content_type in ...

    Read Full Post

Photo of Christian Kaula

I make stuff simple.
Code, interfaces, things.
You can hire me.

Christian Kaula · Thieraufstrasse 2 · 95028 Hof · Germany
Twitter · Xing · GitHub · BitBucket · Django People · Djangogigs
· Mobile +49 179 9709833
http://christiankaula.com

Archive for Category ‹code›

  1. RESTful Web Applications: Code Less, Do More

  2. How to Handle Database Views in Django/South

  3. Where to Not Put Django Templates

    code · Tags:
  4. On CSS Structure

    code · Tags:
  5. My Take on Indention

  6. Python: Decorate a Method That Gets Passed the Class Instance

    code · Tags:
  7. Django Template Tag to Shorten URLs Like Google

    code · Tags:
  8. A Howto on Django Syndication

  9. Clear Up Gelato CMS' Gibberish

    code · Tags:
  10. Make Django Send Mails to Admins Only

    code · Tags:
  11. How to Fix Portage

    code · Tags:
  12. Archive Twitter Stuff With Python

    code · Tags:
  13. Multi-Object-Edit With Django FormSets

    code · Tags:
  14. Die Cache, Die

    code · Tags:
  15. Django Performance Tuning - Speed Up!

  16. Django Members That are in Fact Raw SQL

    code · Tags:
  17. What to Do if You Have to 'Make All Strings Editable'

    code · Tags:
  18. By the Power of CSS… I Revisit You

  19. By the Power of CSS…

  20. Python - Strings Very Much Attached

    code · Tags:
  21. Fun With Forms in Django

    code · Tags:
  22. Subversion: Ignore More

    code · Tags:
  23. Django Can be Too Convenient

  24. Long Live the South

    code · Tags:
  25. News From the South

    code · Tags:
  26. Suspicious SuspiciousOperation Exceptions

    code · Tags:
  27. Going South

    code · Tags:
  28. Database Switcheroo