Always reverse URLs instead of hardcoding them

- Use {% url 'url-name' %} in templates
- Use reverse('url-name') and redirect('url-name') in views
If a file has no hashes, show message.