Yes, it is possible. Below is the documentation. we will use serialization
to get a django rest API.
https://docs.djangoproject.com/en/3.1/topics/serialization/
On Wed, Nov 25, 2020 at 7:48 PM Aman Modi wrote:
>
>
> Hello Django lovers.
>
> I want to use REST API on Django template but i have
hi friends,
please help me to resolve this issue..
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/login/
Django Version: 3.1.3
Python Version: 3.9.0
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
Hello , am new to Django and i created a login page ,but unable to get
login , please help me to solve this , thank you in advance
views.py :
===
from django.views import *
from django.shortcuts import render, redirect
from django.http import HttpResponse
from django.contrib.auth
3 matches
Mail list logo