Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

majidmc2/django-rest-framework-tutorial

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

About

DJANGO-REST-FRAMEWORK TUTORIAL

This project content of some notes about Django-Rest-Framework with examples


Usage

Requirements

pip3 install --upgrade pip

pip3 install jupyter

Run

At first you should clone the repository

git clone https://github.com/majidmc2/django-rest-framework-tutorial

Then run jupyter

cd django-rest-framework-tutorial

jupyter-notebook

You redirect to your default browser and you should open the netebooks directory after that you can open each lassen.


Topics

  • lassen-1
    • What is Python?
    • Why Python?
    • Function
    • Local and global Var
    • Built in Function
    • Conditional Structures
    • Python Collections
    • Classes/Objects
    • Import
    • JSON
    • RegEx
  • lassen-2
    • How to install virtualenv
    • Install Django and Django REST framework into the virtualenv
    • Settings
    • Function Based Views
    • Router
    • Send data to server
    • django browsable api
    • HTTP Status Codes
  • lassen-3
    • What is a model?
    • SQL
    • Relationships
    • Making queries
    • Performing raw SQL queries
    • Exercise
  • lassen-4
    • @api_view and Models
    • Serializers
    • ModelViewSet
  • lassen-5
    • Authentication
      • TokenAuthentication
      • SessionAuthentication
    • Filter Backends & Pagination
    • Create Endpoint User
    • Permissions
    • Disable DEBUG mod
    • Connect Django to MySQL

About

DJANGO-REST-FRAMEWORK TUTORIAL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.