#9806: GeometryField crashes contrib.gis.admin
-------------------------------------+--------------------------------------
          Reporter:  ingenieroariel  |         Owner:  jbronn                   
            Status:  assigned        |     Milestone:                           
         Component:  GIS             |       Version:  1.0                      
        Resolution:                  |      Keywords:  admin, gis, GeometryField
             Stage:  Accepted        |     Has_patch:  1                        
        Needs_docs:  0               |   Needs_tests:  0                        
Needs_better_patch:  1               |  
-------------------------------------+--------------------------------------
Comment (by johanneswilm):

 latest patch doesn't appy cleanly to 1.0.2 and even doing it by hand, the
 line:


 {{{
 else: self.params['collection_type'] =
 OGRGeomType(db_field._geom.replace('MULTI', ''))
 }}}

 creates problems, because "db_field" is not defined (it is in options.py,
 but not in widgets.py).

 I've checked the trunk-version, but couldn't find it there either.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9806#comment:9>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to