Stuff Tagged ‹django›

  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. Django Template Tag to Shorten URLs Like Google

    Fri 12 March 2010 · Tags:

    Need to shorten your URLs like Google does? Something like http://example.com/some/really/long/path/ to http://example.com/.../path/? Here's my simplistic approach:

    # -*- encoding: utf-8 -*-
    
    from django import template
    from django.utils.html import conditional_escape
    from django.utils.safestring import mark_safe
    import re
    
    register = template.Library ...

    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 Tag ‹django›

  1. How to Handle Database Views in Django/South

  2. Where to Not Put Django Templates

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

    code · Tags:
  4. Studi-tools.de is Online

  5. Nice to Know About Virtualenvwrapper

  6. A Howto on Django Syndication

  7. Make Django Send Mails to Admins Only

    code · Tags:
  8. The Problem With Django, Nginx and FCGI

    misc · Tags:
  9. Whoosh Makes the Haystack

  10. Multi-Object-Edit With Django FormSets

    code · Tags:
  11. Die Cache, Die

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

  13. Django Members That are in Fact Raw SQL

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

    code · Tags:
  15. With Django Debug Toolbar You Can Debug Django… Duh

  16. Fun With Forms in Django

    code · Tags:
  17. Django Can be Too Convenient

  18. Long Live the South

    code · Tags:
  19. Suspicious SuspiciousOperation Exceptions

    code · Tags:
  20. I Have a Dream

    misc · Tags:
  21. Compress This Mess

  22. Going South

    code · Tags:
  23. Database Switcheroo

  24. Django? Isn't That Something Like Rails?

    misc · Tags:
  25. Magical Ponies

    misc · Tags:
  26. Yay for Automatic Deployment

    misc · Tags:
  27. What I Forgot to Mention…

    misc · Tags: