
attractive, usable web applications
Richard's Blog - Design, coding and life in Japan
Rails
Creating Rails like template helpers in Django
Submitted by Richard on Thu, 06/24/2010 - 22:01I wanted to make some easy link helpers so that I could have customized rounded corner links without needing JS and so that I could change them easily later if I needed to. This is so easy in Rails it is just crazy trivial. This was not the case in Django, and even though I believe it should be easier (and I believe it is easier with a little help with a method here and there).
Tags:
Recent Blog Posts
- Why you should use Rails 3 and not Django 5th Sep 10, 12:28
- Doctrine 2 and why you should use it! 29th Jul 10, 15:23
- How to localize your main blog listing page using Drupal 26th Jun 10, 11:46
- Creating Rails like template helpers in Django 24th Jun 10, 22:01
- Error: No module named messagesdjango.contrib.contenttypes 22nd Jun 10, 22:00