Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Django: The web framework for perfectionists with deadlines

0826c9e6449c9a08230ac6d40a3cde4d?s=47 Wendy Liu
October 17, 2013

Django: The web framework for perfectionists with deadlines

Brief introduction to Django, followed by working through the tutorial. Presented at Hack101, for HackMcGill.

0826c9e6449c9a08230ac6d40a3cde4d?s=128

Wendy Liu

October 17, 2013
Tweet

Transcript

  1. Django The Web framework for perfectionists with deadlines. Hack101 @

    HackMcGill :: October 17, 2013
  2. about me - Wendy Liu - Math & CS -

    SWE intern at Google SF - dellsystem on {Twitter, IRC, Github} - ilostwaldo on {Facebook, Gmail} - 2 years of Django
  3. None
  4. github.com/dellsystem/mcmun-2014

  5. wikinotes.ca

  6. wikinotes.ca github.com/dellsystem/wikinotes

  7. database

  8. database (+ abstraction layer)

  9. database (+ abstraction layer) templating language

  10. database (+ abstraction layer) templating language admin panel

  11. database (+ abstraction layer) templating language admin panel insert/edit/delete data

  12. database (+ abstraction layer) templating language admin panel insert/edit/delete data

    user authentication
  13. database (+ abstraction layer) templating language admin panel insert/edit/delete data

    user authentication tests
  14. database (+ abstraction layer) templating language admin panel insert/edit/delete data

    user authentication tests sending emails
  15. database (+ abstraction layer) templating language admin panel insert/edit/delete data

    user authentication tests sending emails sending emails search
  16. database (+ abstraction layer) templating language admin panel insert/edit/delete data

    user authentication tests sending emails sending emails search sending emails search deployment search
  17. database (+ abstraction layer) templating language admin panel insert/edit/delete data

    user authentication tests sending emails sending emails search sending emails search deployment search security
  18. database (+ abstraction layer) templating language admin panel insert/edit/delete data

    user authentication tests sending emails sending emails search sending emails search deployment search security sending emails ?
  19. enter django.

  20. M V C

  21. M V C odel iew ontroller

  22. M V C M V C odel iew ontroller (template)

    (view)
  23. DRY. don't repeat yourself.

  24. batteries included! focus on what makes your website special

  25. installing django 1.5.4 $ virtualenv django $ cd django $

    source bin/activate $ pip install django $ django-admin.py startproject whatever
  26. tutorial bit.ly/django101

  27. thanks! bit.ly/django101