私はGeodjangoの初心者であり、次の点についてサポートが必要です。
GeoDjangoアプリケーション用のMultiPolygonFieldフィールドがあり、djangoadminで表示されるのと同じくらいクールにビューに表示したいと思います。
たとえば、私が持っていると言う
def index(request):
"Index,main view"
border = WorldBorders.objects.get(name='Italy')
return render_to_response('world/index.html', {'user': request.user, 'border': border}, context_instance=RequestContext(request))
次に、world / index.htmlで、django adminの場合と同様に、境界線を表示する方法は何ですか?
すべての返信を事前に感謝します!