Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.25 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.25 KB

E-Learning-Platform-Django

Online learning platforms are a great example of applications where you need to provide tools to create content with flexibility in mind.

In this unit you will learn:

  • Create models for CMS
  • Create fixtures for your models and apply them
  • Use model inheritance to create data models for polymorphic content
  • Create custom model fields
  • Order course content and modules
  • Create authentication views for CMS

Installation:

  • pip install -r requirements.txt
  • python manage.py migrate
  • python manage.py createsuperuser

Redis:

  • docker run -it --rm --name redis -p 6379:6379 redis
  • docker run -it --rm --name memcached -p 11211:11211 memcached -m 64
  • python manage.py runserver

Django Rest Framework

  • Install Django REST framework
  • Create serializers for your models
  • Build a RESTful API
  • Create nested serializers
  • Build custom API views
  • Handle API authentication
  • Add permissions to API views
  • Create a custom permission
  • Implement ViewSets and routers
  • Use the Requests library to consume the API