Fixed #23913 -- Deprecation of `=` comparison in `if` template tag

This is a pull request for ticket [#23913](https://code.djangoproject.com/ticket/23913) that deprecates the "feature" that allows for comparison in `if` template tag using `=` operator (instead of `==`). There was some dicussion in the tickets if this change should be made, but I believe that we shouldn't let people create wrong coding patterns, even if it means that one day they will have to fix mistakes of using this undocumented feature in their old code.

I am not entirely sure that this is how you do deprecation path and I also couldn't find docs for that in contribution guidelines, so I'd be happy to fix whatever I did wrong :)
Could you also add a test for the deprecation warning?

I couldn't find a way to give the link of the exact section from https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#deprecating-a-feature So here is my extract from the docs:

```py
import warnings

def test_foo_deprecation_warning(self):
    with warnings.catch_warnings(record=True) as warns:
        warnings.simplefilter('always')  # prevent warnings from appearing as errors
        # invoke deprecated behavior

    self.assertEqual(len(warns), 1)
    msg = str(warns[0].message)
    self.assertEqual(msg, 'Expected deprecation message')
```