+ All Categories
Home > Technology > Introduction to Django

Introduction to Django

Date post: 01-Nov-2014
Category:
Upload: sivasubramaniam-arunachalam
View: 2,121 times
Download: 4 times
Share this document with a friend
Description:
 
Popular Tags:
21
Introduction to Django Sivasubramaniam Arunachalam September 28, 2012 @sivaa_in http://in.pycon.org/2012/funnel/pyconindia2012/26-django-introduction-demo The web framework for perfectionists with deadlines
Transcript
Page 1: Introduction to Django

Introduction to Django

Sivasubramaniam Arunachalam

September 28, 2012

@sivaa_in

http://in.pycon.org/2012/funnel/pyconindia2012/26-django-introduction-demo

The web framework for perfectionists with deadlines

Page 2: Introduction to Django

Who am I?

• Developer• Entrepreneur• Process Consultant• Startup Mentor

Page 3: Introduction to Django

My First Love

Arranged Marriage

(The Developer Life)

Arranged Marriage

Current Affair

Page 4: Introduction to Django

Agenda• Power of Python• Python - Unlimited• Django Architecture• Demo • Demo

Page 5: Introduction to Django

Power of Python• Who uses Python?• Why?• Less Code (10J = 1P)

Page 6: Introduction to Django

Python - Unlimited• Multi-Paradigm • Multi-Platform• Multi-Device• Multi-Language• Multi-Language

Page 7: Introduction to Django
Page 8: Introduction to Django

Who are you?• Knows any programming language• Built a web application• Don’t want Theory

Page 9: Introduction to Django

MVC

http://offthegridchicago.com/wp-content/uploads/2012/05/logo_mtv.jpg

Page 10: Introduction to Django

http://mohamedkawia.com/sites/default/files/esquema_django.png

Page 11: Introduction to Django

Demo• A Simple Web Todo Application• Uses Django Built-in Admin Interface• Uses Open ID Authentication• Extend & Customize • Extend & Customize

Page 12: Introduction to Django

Open ID Authentication

https://developers.google.com/accounts/images/OpenIdDiagram.png

Page 13: Introduction to Django

Open ID Response• First Name• Last Name• E-Mail• Language• Language• Nick Name

Page 14: Introduction to Django

Pre-requisites• Python 2.6+• Django 1.4+• django_openid_auth• Your Favorite Editor• Your Favorite Editor• (Optional)Eclipse with PyDev

Page 15: Introduction to Django

Part - 01

• Create a Django Project• Enable Admin Interface

Page 16: Introduction to Django

Part - 02

• Plug - in django_openid_auth• Write a Custom Authentication Logic

Page 17: Introduction to Django

Part - 03

• Write a To-do Application

Page 18: Introduction to Django

Part - 04

• Enhance it• Storing Audit Details• Multi - Users• Multi - Users

Page 19: Introduction to Django

Talk is cheap. Show me the codeTalk is cheap. Show me the code

Page 20: Introduction to Django

Questions (?)


Recommended