I am using django 3.1 version how to connect django and react i am trying to connect butgetting Error like TemplateDoesNotExist at /index.html i attached my folder structure and error image
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/09f5e196-12b7-44f0-a7fd-52dd8ce035cdn%40googlegroups.com.
Please can you show me your views.py?
-----------------------------------------------------------------------------------------------------
Samuel Nogueira Bacelar
GitHub: https://github.com/SamuelNoB
Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa/
-----------------------------------------------------------------------------------------------------
--
Also you should follow Farai’s recommendation and use DRF in your applicaiton.
-----------------------------------------------------------------------------------------------------
Samuel Nogueira Bacelar
GitHub: https://github.com/SamuelNoB
Linkedin: https://www.linkedin.com/in/samuel-nogueira-87800b1aa/
-----------------------------------------------------------------------------------------------------
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMeub5O3jmRn%3DEgk7auSHcuLPKt0Uyv6Lp9cSkK7_ufbn8VgBA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6B703D92-F4D2-409F-B6B7-1303FDF9FB8F%40hxcore.ol.
STATICFILES_DIRS = [ |
os.path.join(BASE_DIR, 'new/build/static') |
] |
I am using django 3.1 version how to connect django and react i am trying to connect butgetting Error like TemplateDoesNotExist at /index.html i attached my folder structure and error image
--
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0A18659F-4FDD-445F-A25E-0BFD7DBC3F79%40hxcore.ol.
I am using django 3.1 version how to connect django and react i am trying to connect butgetting Error like TemplateDoesNotExist at /index.html i attached my folder structure and error image
--
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMjq-Bz_BLEaC%2BGWoQE9fk4KySy2aGf8jXBCsrQvE%3DXy3XXXtQ%40mail.gmail.com.