django - Which model to consider in Geodjango? The initial one or the one generated by ogrinspect? -


i have made models application given in https://docs.djangoproject.com/en/1.8/ref/contrib/gis/tutorial/ after did ogrinspect , generated model. difference between model , 1 ogrinspect generated geometry field.

initially model has

mpoly = models.multipolygonfield() objects = models.geomanager() 

and 1 ogrinspect generated has

geom = models.multipolygonfield(srid=4326) objects = models.geomanager() 

so model should want consider? whether should replace existing model 1 generated ogrinspect , migrate or no need of replacing?


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -