Successfully reported this slideshow.
Your SlideShare is downloading. ×

Django from scratch

Loading in …3
×

Check these out next

1 of 22 Ad
1 of 22 Ad
Advertisement

More Related Content

Advertisement

Django from scratch

  1. 1. Django From Scratch kamal@xoxzo.com
  2. 2. Tutorial https://k4ml.gitbooks.io/mastering-django/content/
  3. 3. What we’re doing at Xoxzo ? HTTP API for SMS and Voice Lot of Django
  4. 4. What we’re going to do ? Not building another Django.
  5. 5. Use Django in ‘slightly’ different way
  6. 6. Why I’m doing this ?
  7. 7. Fixing some misconception #1 Django doesn’t need installation
  8. 8. Digression Build python app from single module libraries:- CherryPy Bottle Peewee
  9. 9. Fixing some misconception #2 project vs app is not needed
  10. 10. Starting new Django project django-admin startproject pyconchat
  11. 11. More effective and productive when you know where all the stuff is.
  12. 12. Curiosity
  13. 13. Where is your Django ?
  14. 14. Where is your Django ?
  15. 15. Where is your Python ? /usr/bin/python /usr/bin/python3 /home/kamal/local/bin/python /home/kamal/chatery/bin/python3 C:python3python C:Program FilesPython3python ….
  16. 16. Thinking the program as something magical rather than something that you can control is what lead to frustration when learning new stuff.
  17. 17. What so hard about Django ? ● Context processor ● Middleware ● Forms ● Project vs App ● Django Rest Framework - serializers ● … ?
  18. 18. Warning ! This is not about best practices
  19. 19. The Basic Building Block
  20. 20. Minimal Django App.py
  21. 21. Minimal Django Urls.py
  22. 22. Question ? @k4ml https://k4ml.me/

×