PyClass Django Series
Day 0: tour of django

Python web framework, created in 2005
Opinionated web framework, designed to make developing fast
Large django users include:
- NASA
As well as companies I've worked for
- Venmo
- Sighten
Why Learn Django?
- Ease of prototyping: easier to start and deploy your project using a well-supported framework
- Out-of-the-box functionality: don't reinvent security, authentication sessions, database access, email...
- Scales well to large teams, large projects
- Django apps make it easy to split up and reuse functionality
Django benefits
- Designed around rendering html pages
- If you chose an unsupported database, you'll be fighting the framework
- The django framework keeps up with internet trends, though, and now supports asynchronous programming
- Django can serve REST and GraphQL APIs as well, making it a great backend for a modern frontend
django is the present, not the future
What we'll be building
"RetroSocial", a basic social network
- Signup / login / logout (today)
- Posting (March 5, next Monday)
- Messaging (March 12)
- API, static frontend (March 19)
if you want a more fleshed-out, open-source social network in django, see
- Vataxia https://github.com/buckyroberts/Vataxia
- Bootcamp https://github.com/vitorfs/bootcamp
What we'll be using
- Python 3.6
- Django 2.0 🎉
- SQLite3 (comes with python)
- Postgres 10 (starting next week)
Let's get started!
- project code will be on Github, under guest-talks/2018-django
- You can always clone from there, if you miss a class for example
- Start your own django project elsewhere, such as ~/code/ (we'll be starting from scratch)
PyClass Django
By razzi
PyClass Django
- 528