Ah, well I feel dumb. I figured out how to do it. In the second example,
it is correct to use the blue drawing tool. You just have to hold 'Shift'
when clicking the last point to actually get the polygon to snap onto the
page.
On Fri, Jan 6, 2017 at 11:50 AM, eric conner wrote:
Hello Django Users!
I am trying to use OSMGeoAdmin to create an editable PolygonField backed by
MySQL.
This works great for existing polygons, but it does not seem to be possible
to create new polygons using the admin.
Here's a gif of me successfully modifying an existing Polygon:
gfycat.com/
oid this behavior, you can use order_by() without parameters:
>
> eg:
>
> A.objects.order_by().values('b').annotate(most_recent=Max('created_at'))
>
>
>
> On Wed, Jun 29, 2016 at 5:39 PM, eric conner > wrote:
>
>> Hello!
>>
>> I'm using D
Hello!
I'm using Django 1.9.7, MySQL innodb 5.7.11, and python 2.7.10.
I noticed some strange behavior when running this query:
q = A.objects.values('b').annotate(most_recent=Max('created_at'))
Produces this SQL:
SELECT `core_a`.`b_id`, MAX(`core_a`.`created_at`) AS `most_recent` FROM
`core_a`
4 matches
Mail list logo