yourlabs/django-autocomplete-light — pull request #114 by glogiotatidis (2013-03-25 12:35:49+00:00)
Title: Include widget_template to list of possible templates only when not None

If `widget_template` is not set, then it defaults to `''` and if you have a `templates` directory in the root of your project, then you'll get a 500 error about `.../templates/` being a directory and not a file.

This patch fixes this behavior by adding `widget_template` in the list of possible templates to render, only when the attribute exists.