Stuff in ‹code›

  1. Where to Not Put Django Templates

    Sat 01 October 2011 · Tags:

    Here's a hint for you: You are probably putting your Django template files in the wrong place.

    vim yourdjangoproject/someapp/templates/someapp/sometemplate.html
    

    Looks familiar? Uh oh — seems I got you.

    So what's wrong with that line?

    The most obvious giveaway is the double occurrence of your ...

    Read Full Post

  2. On CSS Structure

    Wed 01 June 2011 · Tags:

    Because I have to do some collaborative work on CSS files (no Sass/Compass) these days I'd like to take the time and write down some pointers regarding CSS structure.

    Alphabetical order

    As with a lot of other stuff that needs to be organized in some way, alphabetical order ...

    Read Full Post

  3. My Take on Indention

    Mon 28 March 2011 · Tags:

    Many battles have been fought about how to indent. And finally it's my time to beat you around the head with my opinion. Here we go.

    Use goddamn tabs dammit!

    Why? Because they make sense. One level of idention is one tab. If you want to ident by 4 ...

    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