This is present in the source:
https://github.com/django/django/tree/stable/1.7.x/django/contrib/gis/static/gis/js
Without the JS file contained here, OLMapWidget.js, geospatial fields do
not appear in the admin.
--
Ticket URL: <https://code.djangoproject.com/ticket/22464>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* severity: Normal => Release blocker
* needs_tests: => 0
* stage: Unreviewed => Accepted
Comment:
Hi,
I have no idea why that's happening, but we should definitely fix this for
the final release.
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/22464#comment:1>
Comment (by claudep):
It's probably `MANIFEST.in` missing the `recursive-include
django/contrib/gis/static *` line. But this line was also absent from the
1.6 release and the js file is still in the 1.6 tarball. Did we change the
packaging method?
--
Ticket URL: <https://code.djangoproject.com/ticket/22464#comment:2>
Comment (by timo):
Yes, we switched to setuptools in
66f546b90624297858b0f958abbe5c2b3e8bdffb.
--
Ticket URL: <https://code.djangoproject.com/ticket/22464#comment:3>
Comment (by mardini):
For convenience, PR: https://github.com/django/django/pull/2586
--
Ticket URL: <https://code.djangoproject.com/ticket/22464#comment:4>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"bad4721b45e0a3e05b6122644e5da41616313ffe"]:
{{{
#!CommitTicketReference repository=""
revision="bad4721b45e0a3e05b6122644e5da41616313ffe"
Fixed #22464 - included contrib/gis/static in tarball
After switching to setuptools in commit 66f546b,
contrib/gis/static isn't included in tarball anymore, this commit adds
that path to be `recursive-include` in `MANIFEST.in`
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22464#comment:5>
Comment (by Alex Gaynor <alex.gaynor@…>):
In [changeset:"f293063c201b9ccc5258fc288b483697461e8116"]:
{{{
#!CommitTicketReference repository=""
revision="f293063c201b9ccc5258fc288b483697461e8116"
Merge pull request #2586 from mmardini/patch-2
Fixed #22464 - included contrib/gis/static in tarball
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22464#comment:6>
Comment (by Tim Graham <timograham@…>):
In [changeset:"bdfa3fd9b3b93ad94e8de7fe3b4c38d395368812"]:
{{{
#!CommitTicketReference repository=""
revision="bdfa3fd9b3b93ad94e8de7fe3b4c38d395368812"
[1.7.x] Fixed #22464 - included contrib/gis/static in tarball
After switching to setuptools in commit 66f546b,
contrib/gis/static isn't included in tarball anymore, this commit adds
that path to be `recursive-include` in `MANIFEST.in`
Backport of bad4721b45 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22464#comment:7>