-
Notifications
You must be signed in to change notification settings - Fork 14
Can't view map template #191
Comments
Update, I got the template to load, but receive the following error. I am using Geonode 2.9 TemplateSyntaxError at /maps/new 'future' is not a registered tag library. Must be one of: |
It is not a GeoNode issue but a geonode-client one. It depends on this future is not allowed anymore on Django 1.11.11 as far as I know. |
sorry, closed by mistake. reopening |
@milafrerichs any ideas on this one? |
Since it seems to be removed with Django 1.9, GeoNode 2.8 should work without problems (@bssher can you confirm?) . For 2.9 we could check if we can just remove it and use url directly as the error suggests? |
I don’t have any installs of 2.8. I removed the future tag fromc2.9 with no
luck, but maybe not in the correct place?
…On Thu, Aug 23, 2018 at 12:16 AM Toni ***@***.***> wrote:
Since it seems to be removed since Django 1.9 GeoNode 2.8 should work
without problems ***@***.*** <https://github.com/bssher> can you confirm?) .
For 2.9 we could check if we just remove it and use url directly as the
error suggests?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#191 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATiztklqnXhG_kPHMqrNuRzqY3nl3kZQks5uTlbdgaJpZM4WEsdw>
.
|
@bssher since Django 1.9 url is autoloaded. Just tested with master branch - as said you have to remove the future tag.
In 2.8.0 this problem does not occur as here Django 1.8 is in use. I do not want to make a PR right now as this would break 2.8 ?! @bartvde @milafrerichs maybe it would be good to setup a branch for each target version or some conditional import? |
hi, thanks for reporting this. I will take a look and maybe prepare a PR and tags for specific versions. |
I did the following.
Add django-geonode-client to your requirements.txt Add geonode-client to your INSTALLED_APPS
For GeoNode
Change the LAYER_PREVIEW_LIBRARY to react
But I don't see the react map template in my new maps. What step am I missing?
The text was updated successfully, but these errors were encountered: