I am learning now geodjango. I made basic web app with postgis database. With openlayers iam displaying basic wms map and I want to add other layers from my postgis database. I use render_to_kml function and then I visualize this kml with openlayers. The problem is that I can only display point layers instead of multipolygons...I tried to make another kml template bud I misunderstand it and there is no good documentation... I paste here my files ( view, template, urls) and please give me advice if you can,,,where I have mistake ( I think it will be something with KML templates but i dont know.) ![this is my views.py][1] ![this is my html template][2] 1. this is my views.py 2. this is my html template 3. this is my urls.py [![this is my urls.py][4]][4] This results into application with 3 layers (basic map and 2layers from my postgis database which are equivalent (both are point feature....Polygons feature is only copy of Point feature...Thats my problem))... Anyone has a solution for me? [1]: https://i.sstatic.net/7TY46.png [2]: https://i.sstatic.net/WNIzO.png [3]: https://i.sstatic.net/LNeFX.png [4]: https://i.sstatic.net/LNeFX.png