Re: Form containing a Mutipolygon field for Django 1.3

2011-04-19 Thread GARRAM karim
this instruction PolygonFormField=GeneratePolygon._meta.get_field('Polygon') it didn't found the GeneratePolygon object On Apr 18, 3:13 pm, GARRAM karim wrote: > I am using dream weaver so when I deleted the heading > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&qu

Re: Form containing a Mutipolygon field for Django 1.3

2011-04-18 Thread GARRAM karim
I am using dream weaver so when I deleted the heading http://www.w3.org/1999/xhtml";> the problem of plotting the openlayer map was resolved Now my problem is still the mapping between the data to plot in the map and the multipolygon field, in my object definition On Apr 18, 1:12 pm

Form containing a Mutipolygon field for Django 1.3

2011-04-18 Thread GARRAM karim
I am working on a GeoDjango project. I have a model.py wich extend the user model and contains a MultiPolygonField class Membre(models.Model): user = models.ForeignKey(User, unique=True) #some other attributes mpoly = models.MultiPolygonField() objects = models.GeoManager() cla