Thursday, May 2, 2019

Re: help with URLS.PY


Hi,


As I said, the dashboard.html works, i just want another menu option to load the other html file. i have commented this out as it causes my app to break.
So the issue is with the map url. Can you try to use a different name? 

    #path('map/', Map.as_view(), name='map'),               
path('map/', Map.as_view(), name='map-link'),

Or something like that?

Probably silly, but map is also a builtin. Maybe it conflicts?

Abishek

No comments:

Post a Comment