/srvup-rest-framework

Extending the Srvup Membership project, we build an API using the Django Rest Framework.

Primary LanguagePythonApache License 2.0Apache-2.0

Srvup & the Django Rest Framework

Create an API by using a previously built Django project callled Srvup Membership (github)

Each Lecture Name is linked to the related source code. Final project code updated to Django 1.8

Lecture Code

Implement Previous Django Project

DRF & SRVUP

Serializers for Models

API Router in URLS

Auth for DRF

Authentication & Permissions

Auth with JWT Tokens

Token Expiration & Payload

Basic Foreign Key Usage

Serializing Foreign Key Relations

Nesting Foreign Keys

Serializer Method Field

Using Curl

CRUD with CBVs - ListView

CRUD with CBVs - RetreiveView

API Url using Slug Field

Using Curl for CBVs API

Enhance Category Detail

Video Detail

CRUD With CBVs- Create View

Comment Detail View

Comment Update Mixin

Comment List & Detail

Delete Comment Mixin & CRUD for Child Comments

Video Hyper Link Field for API 2

jQuery Test start

jQuery Test Part 1

jQuery Test Part 2 end

Final Code Django 1.7