Category Archives: Web Development

console.log() with jsFiddle

jsFiddle is a great tool for quick JavaScript prototyping. While it’s possible to use your browser’s console log to preview bits and pieces of output, I was looking [..]

Code Snippets, Software Development, Web Development , ,

JavaScript snippet: Remove base URL from link

I needed this function this morning so I thought I’d share it in case someone else does too. ?View Code JAVASCRIPTfunction RemoveBaseUrl(url) { /* * Replace base URL [..]

Code Snippets, Geeky, Tips and Tricks, Web Development

Pre-populate Django ModelForm with Specific Queryset

I just had a situation where I was trying to filter the queryset for a ModelMultipleChoiceField based on the currently logged-on user.  I was going crazy trawling through [..]

Geeky, Tips and Tricks, Web Development , ,

Why I Love Django

I’ve used Django for a few small projects in the last year and have absolutely fallen in love with it. While I always insist that I’m not a [..]

Software Development, Web Development , ,

CSS auto reload with Django templates

Have you ever been in the situation where you’ve updated your CSS file but users’ web browsers haven’t automatically loaded the new one? The reason is because many [..]

Tips and Tricks, Web Development , , , ,