[geo] Restrict to points only #151
Fixed the issue by adding a clean method to the location model. This method ensures that when the geometry is not None, it should be an instance of a Point Geometry else a ValidationError is raised
Fixed #151
@nemesisdesign Please can review this? Thanks
Coverage increased (+0.02%) to 97.722% when pulling 78a49f677d19c154ca443805bc513346366d6c5d on NoumbissiValere:only_points into 667419bab2373530a4837e31489ca62c44561047 on openwisp:master.
Coverage increased (+0.02%) to 97.722% when pulling 78a49f677d19c154ca443805bc513346366d6c5d on NoumbissiValere:only_points into 667419bab2373530a4837e31489ca62c44561047 on openwisp:master.
:smile: I can have a look at it