Skip to content

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

Notifications You must be signed in to change notification settings

abd1bayev/E-Learning-Platform-Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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