Skip to content

rafiudd/django-rest-framework-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Rest Framework

alt text

Getting Started

This is repository to cleared GCI task, Learn Python Rest from https://www.django-rest-framework.org/tutorial/quickstart/

Installing

Create a virtual environment to isolate our package dependencies locally

python3 -m venv env
source env/bin/activate  # On Windows use `env\Scripts\activate`

Install Django and Django REST framework into the virtual environment

pip install django
pip install djangorestframework

Set up a new project with a single application

django-admin startproject tutorial .  # Note the trailing '.' character
cd tutorial
django-admin startapp quickstart
cd ..

How to start

  python manage.py runserver

or

python manage.py createsuperuser --email admin@example.com --username admin

About

Django rest framework GCI Task

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages