#25825: Template Origin is missing an __ne__ implementation
-------------------------------+------------------------------------
Reporter: jaap3 | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by charettes):
It looks like many objects in Django code base implement `__eq__` but not
`__ne__`.
* `django.template.base.Origin`
* `django.template.context.BaseContext`
* `django.core.validators.EmailValidator`
* `django.core.validators.BaseValidator`
* `django.core.validators.DecimalValidator`
* `django.core.management.commands.makemessages.TranslatableFile`
* `django.test.utils.Approximate`
* `django.contrib.messages.storage.base.Message`
* `django.contrib.gis.geos.mutable_list.ListMixin`
* `django.contrib.gis.maps.google.overlays.GIcon`
* `django.contrib.gis.gdal.feature.Feature`
* `django.contrib.gis.gdal.envelope.Envelope`
* `django.contrib.gis.measure.MeasureBase`
* `django.contrib.gis.db.backends.postgis.adapter.PostGISAdapter`
* `django.contrib.gis.db.backends.base.adapter.WKTAdapter`
* `django.db.models.sql.datastructures.Join`
* `django.db.models.query.Prefetch`
* `django.db.models.fields.Field`
* `django.db.migrations.utils.RegexObject`
* `django.db.migrations.graph.Node`
It might be worth fixing them too.
--
Ticket URL: <https://code.djangoproject.com/ticket/25825#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.60830f6874914a4a031d99578dd5fde9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.