`LANG_FILES` could potentially contain multiple files in a list. You shouldn't rely on this. Since you only care about the contribute form, and this is just a views.py file, just specify the file here. Either that or you could change how the function works and pass in the template name here and let the function work out which lang file it should check, more like the `is_active` stuff. I actually prefer this since the views really shouldn't need to worry about lang files.