Skip to content

sanjaydaya/django-get-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6192b10 · Nov 4, 2024

History

9 Commits
Nov 4, 2024
Nov 4, 2024
Nov 4, 2024

Repository files navigation

GET API

django

create new folder on code editor

open terinal on code editor, check python version

python --version

install django

pip install django djangorestframework

create project

django-admin startproject  <your project name>

install requests

pip install requests

add file called views.py on your project (Write request function in views.py, with api from which you want Data.)

edit file called urls.py (Set URL for that view function)

add file home.html (Display from template)

run project

python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published