My work featured on CSS Mania: HydroHolistic

20th April 2011 in Inspiration

It's with my great pleasure that I announce that one of my works has been approved on CSS Mania!

This is one of those little satisfactions one can get from his work. It's important to be recognized by other professionals of your industry sometimes...

continue reading "My work featured on CSS Mania: HydroHolistic"

A few shots from Venice 03/11

18th April 2011 in Photography

Some nice photos i've taken on a trip to Venice in March 2011.

continue reading "A few shots from Venice 03/11"

Tagging Autocomplete to work with Django 1.2

27th October 2010 in Coding

If you are using Django 1.2 and you tried installing Django Tagging Autocomplete you will have noticed that the autocompletition won't work unless you oad a second copy of jQuery. Since I find that a very crappy solution I found a solution that works better for me and I want to share it with you. 

continue reading "Tagging Autocomplete to work with Django 1.2"

How to get comments working with Django StaticGenerator

6comments

25th October 2010 in Coding

If like me you are using Django StaticGenerator to speed up your blog you should have noticed that your comments won't work anymore, since StaticGenerator will cache also the fields used by the django comment app to block spam and CSRF attacks.

In this post I'll share with you a quick and easy solution with jQuery.

continue reading "How to get comments working with Django StaticGenerator"

Sunrise Aguas Blancas Ibiza 10/10

2comments

23rd October 2010 in Photography

These photo were taken on 9th October in the early morning to catch the sun rising in Aguas Blancas Beach.

continue reading "Sunrise Aguas Blancas Ibiza 10/10"

HTML Purifier Plugin for Joomla

4comments

18th October 2010 in Coding

Html purifier is a Joomla plugin based on the HTML Purifier library.

I developed the plugin in late 2007 with Matteo Maria Baccano, another PHP programmer I was working with at that time and now I just updated the plugin after a long time.

continue reading "HTML Purifier Plugin for Joomla"

Django: How to Retrieve Query String Parameters

1comment

3rd October 2010 in Coding

If you use Django you will surely know that its url routing is quite strict regarding the prettiness of its URLS but there are still cases in we need to handle query string parameters, like when dealing with external services that return a URL like: callback?verification_code=088145235648fs689sa56h&userid=854 . What to do in this case?

continue reading "Django: How to Retrieve Query String Parameters"

Nice Skip Links Appearing on :focus with CSS

10comments

1st October 2010 in Accessibility

Skip links, also known as "Skip Navigation Links", are a good way to improve the accessibility of a website, providing an important shortcut for keyboard users and screen readers to browse the website, without forcing them to tab (or worse read) through the whole page before getting to the content they're interested in.

Unfortunately, many designers forget to include this element in their design. Some of them do not want to use it for an aesthetic reason, some others simply ignore it. For both cases there is an easy way to fix this!

continue reading "Nice Skip Links Appearing on :focus with CSS"

Django: Private File Upload and Serving

4comments

30th September 2010 in Coding

The standard Django FileFields assume you want to upload a file in a subdirectory of MEDIA_ROOT, what if you want to upload the file in a private directory above the web root, not accessible via http?
How can you serve the files then?

continue reading "Django: Private File Upload and Serving"

Django: FileField with ContentType and File Size Validation

20comments

24th September 2010 in Coding

Immagine that you need to add the possibility to upload a PDF or Zip file in the django admin, but you want to be sure your client will upload only these two filetypes and not other ones.
You might also need the same functionality in the frontend, so why not use "ModelForm" and have just one validation for both applications (admin and frontend)?

In this short post I'll share with you my simple solution.

continue reading "Django: FileField with ContentType and File Size Validation"

Older » « Newer

Categories

Let's be social

Popular posts

Latest Comments

  1. nice site i really learn a lot more power to your blog <a href="http://staying-healthy.info">healthy living</a>

    By health is wealth in Nice Skip Links Appearing on :focus with CSS

  2. Very strange bug- thanks for the fix!

    By Andrew Chart in IE8 doesn't like 1x1px semi-transparent backgrounds

  3. Completely agree about keeping it simple, sometimes people try a little too hard

    By ryan in 10 Effective Business Card Design Tips

  4. I just wanted to say that your blog has been really useful.

    By Kerala in Django: How to Retrieve Query String Parameters

  5. Thank you this was exactly what I have been searching for.

    By Kerala in Django Tagging Autocomplete Tag-It

Popular Tags

creativity django google-summer-of-code ibiza inspiration jquery nemesisdesign ninux open-source performance photo programming python security staticgenerator upload wireless-community