Hi find this link https://github.com/sumasreeeduru/Textyfi And go through "api" app , where you will find adding the api in easy way. On Sunday, November 29, 2020 at 12:36:44 PM UTC+5:30 [email protected] wrote:
> Hi > Use JavaScript or jQuery to call APIs in frontend of Django template. > You can use fetch API using vanilla JavaScript. > You can perform all CRUD operations. > All the best 👍 > > On Sun, 29 Nov 2020, 11:57 am Aman Modi, <[email protected]> wrote: > >> I know how to create API but i just want to know how to use in Django >> template. >> >> On Wednesday, November 25, 2020 at 8:07:47 PM UTC+5:30 [email protected] >> wrote: >> >>> Creating REST API in Django is similar to any app on Django. All you >>> need to do is, install the djangorestframework library, and serialize your >>> models. >>> >>> YT video 👇 >>> https://youtu.be/TmsD8QExZ84 >>> On Wed, Nov 25, 2020, 7:48 PM Aman Modi <[email protected]> wrote: >>> >>>> >>>> >>>> Hello Django lovers. >>>> >>>> I want to use REST API on the Django template but I have no idea how >>>> can I do that. >>>> I want to use the same API on the android app and the Django template. >>>> >>>> Any suggestion. >>>> >>> >>>> Thanks and regard >>>> Aman Modi >>>> >>>> -- >>>> 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 [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-users/99c6d921-9ea7-4f3b-9d69-03b06fbbd5d8n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/django-users/99c6d921-9ea7-4f3b-9d69-03b06fbbd5d8n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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 [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/9219ddfb-a07d-40b4-9e64-8324520043f7n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/9219ddfb-a07d-40b4-9e64-8324520043f7n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5bea74b3-647b-45ca-9623-4951b08c911fn%40googlegroups.com.

