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 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?