Compare commits

..

No commits in common. "b35740b029029e7bbcc39b6e45db64eafc21bdb3" and "57fa820875ade65fd00eda2d8b2c2301082aee38" have entirely different histories.

6 changed files with 10 additions and 16 deletions

View file

@ -1,5 +1,5 @@
# Force rtfd to use a recent version of mkdocs # Force rtfd to use a recent version of mkdocs
mkdocs==1.6.1 mkdocs==1.6.1
pymdown-extensions==10.14.3 pymdown-extensions==10.14.1
mkdocs-material==9.5.50 mkdocs-material==9.5.50
mkdocs-static-i18n==1.3.0 mkdocs-static-i18n==1.2.3

View file

@ -1,5 +1,5 @@
# Force rtfd to use a recent version of mkdocs # Force rtfd to use a recent version of mkdocs
mkdocs==1.6.1 mkdocs==1.6.1
pymdown-extensions==10.14.3 pymdown-extensions==10.14.1
mkdocs-material==9.5.50 mkdocs-material==9.5.50
mkdocs-static-i18n==1.3.0 mkdocs-static-i18n==1.2.3

View file

@ -48,18 +48,18 @@ dev = [
"djlint==1.36.4", "djlint==1.36.4",
"mkdocs==1.6.1", "mkdocs==1.6.1",
"mkdocs-material==9.5.50", "mkdocs-material==9.5.50",
"mkdocs-static-i18n==1.3.0", "mkdocs-static-i18n==1.2.3",
"vermin==1.6.0", "vermin==1.6.0",
"pymdown-extensions==10.14.3", "pymdown-extensions==10.14.1",
"isort==6.0.0", "isort==5.13.2",
] ]
test = [ test = [
"daphne==4.1.2", "daphne==4.1.2",
"factory-boy==3.3.3", "factory-boy==3.3.1",
"playwright>=1.39", "playwright>=1.39",
"pytest==8.3.4", "pytest==8.3.4",
"pytest-django==4.9.0", "pytest-django==4.9.0",
"pytest-playwright==0.7.0", "pytest-playwright==0.6.2",
"pytest-rerunfailures==15.0", "pytest-rerunfailures==15.0",
"pytest-xdist>=3.5.0,<4", "pytest-xdist>=3.5.0,<4",
"moto[s3]==5.0.27" "moto[s3]==5.0.27"

View file

@ -87,7 +87,6 @@ input[type="submit"] {
border: none; border: none;
text-decoration: none; text-decoration: none;
background-color: white; background-color: white;
justify-content: center;
} }
.dark .button, .dark .button,
.dark [type="button"] { .dark [type="button"] {

View file

@ -267,8 +267,6 @@ const PathMixin = {
}, },
makeGeometryEditable: function () { makeGeometryEditable: function () {
// Feature has been removed since then?
if (!this._map) return
if (this._map._umap.editedFeature !== this.feature) { if (this._map._umap.editedFeature !== this.feature) {
this.disableEdit() this.disableEdit()
return return

View file

@ -27,10 +27,7 @@ def _urls_for_js():
Return templated URLs prepared for javascript. Return templated URLs prepared for javascript.
""" """
urls = {} urls = {}
modules = ["umap.urls"] for module in ["umap.urls", "umap.sync.app"]:
if settings.WEBSOCKET_ENABLED:
modules.append("umap.sync.app")
for module in modules:
names = _get_url_names(module) names = _get_url_names(module)
urls.update( urls.update(
dict(zip(names, [get_uri_template(url, module=module) for url in names])) dict(zip(names, [get_uri_template(url, module=module) for url in names]))