#21003: BaseGeometryWidget is not idempotent -------------------------------------+------------------------------------- Reporter: leplatrem | Owner: nobody Type: | Status: new Cleanup/optimization | Version: Component: GIS | 1.6-beta-1 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by claudep): Here's a slightly different patch. I didn't like that we had to reconstruct a Geometry object at two different places in the same file. And I prefer to test the srid after having created the object, because you never know if the client has provided a value containing a parsable srid through a clever thing. Criticism welcome! -- Ticket URL: <https://code.djangoproject.com/ticket/21003#comment:5> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.84486aafd95cd5dad6cefe5195795fcf%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.