Advertisement
Advertisement

More Related Content

Advertisement

Créer une api publique avec Django REST framework

  1. Créer une API publique avec Django REST Framework Lionel Porcheron Pierre Fersing @lporcheron
  2. Lionel co-founder @Bleemeo 10y Ops Background Toulouse Devops & Capitole du Libre organizer Pierre co-founder @Bleemeo Python & Django dev for 10y
  3. Monitoring as a Service solution API in Django + User Interface in ReactJS
  4. Public API Secure settings Abstract data model Best performance
  5. Our Stack Django REST Framework Django Guardian (permissions) DRF Docs (doc) Django REST Framework JWT (jwt)
  6. Our Sample Model
  7. Authentication & Permissions
  8. Deactivate browsable API
  9. Deactivate HTTP options
  10. Pagination & Search
  11. Request only some fields
  12. Don’t expose your data model
  13. Limitations 2 Factor Authentication Integration django-sudo integration Django REST Framework doc… Django REST Framework errors...
  14. Resources Workshop “Créer son API avec Django REST framework” this afternoon Conference “Authentification et autorisation avec Django REST framework” 8 articles from Makina Corpus: https://makina-corpus.com/blog/metier/2015/django- rest-framework-les-serializer-et-les-exceptions-partie-1
  15. Questions? @lporcheron lionel@bleemeo.com / pierref@bleemeo.com https://blee.moe/pyconfr2016
Advertisement