Click here to Skip to main content
15,667,466 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working with Django, HTML and CSS.

When using
<a href='link' target="_blank"></a>
in my HTML file to open a link on my web page I have no problems. However when inserting this link into a JSON text file i end up with the following:

Does this mean that i will need to manually add this somehow in the

What I have tried:

in main

urlpatterns = [
    path('chatbotModel/', include('chatbotModel.urls')),


in app

urlpatterns = [
    path('anxiety/', views.say_hello, name='say_hello'),
    path('getResponse/', views.getResponse, name = 'getResponse'),
    path('suicidePrevention/', views.suicidePrevention, name = 'suicidePrevention')


def suicidePrevention(request):
    return HttpResponse('suicidePrevention')

Am i heading in the right direction?
Updated 21-Jul-21 5:32am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900