ebook img

Django Essentials PDF

172 Pages·2014·1.11 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Django Essentials

Getting Started with Django Develop simple web applications with the powerful Django framework Samuel Dauzon BIRMINGHAM - MUMBAI Getting Started with Django Copyright © 2014 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: June 2014 Production reference: 1130614 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78398-370-4 www.packtpub.com Cover image by Gagandeep Sharma ([email protected]) Credits Author Project Coordinator Samuel Dauzon Puja Shukla Reviewers Proofreaders Jorge Armin Garcia Lopez Simran Bhogal Caleb Smith Maria Gould Deepak Thukral Paul Hindle Commissioning Editor Indexers Julian Ursell Hemangini Bari Mariammal Chettiyar Acquisition Editor Rekha Nair Nikhil Karkal Priya Subramani Content Development Editor Production Coordinator Ruchita Bhansali Saiprasad Kadam Technical Editor Cover Work Gaurav Thingalaya Saiprasad Kadam Copy Editors Dipti Kapadia Aditya Nair About the Author Samuel Dauzon is a web developer. After two years of studying networks and their administration, he decided to head for development. He regularly tries out the latest development technologies for his customers. He is interested in software quality and security. He is also interested in web frameworks and has studied Symfony2 and ExtJS. He works primarily on CodeIgniter2 and Django. He previously worked for CER FRANCE 49 (an accounting firm) for one year, where he created some software that was used internally with the WebDev software. Presently, he works for ILTR, a web development company specializing in ASP, PHP, and CodeIgniter2. For over two years, he has also worked as a freelance web developer (in PHP, Django, and so on). I thank my wife, Noëllie, who has long participated in this book by translating French to English and for supporting me with her love during the writing of this book. I thank my parents for their support and attention. I thank my friends, especially Marion and Dimitri, who have borne with me while I explained what a web framework is. I also thank my family and all those who have borne with me while I explained the book's subject. I also want to thank Nikhil, Puja (for her precious encouragements), Ruchita, and Gaurav from Packt Publishing, with whom it's been a pleasure to work. About the Reviewers Jorge Armin Garcia Lopez is a very passionate information security consultant from Mexico with more than six years of experience in computer security, penetration testing, intrusion detection/prevention, malware analysis, and incident response. He is the leader of a tiger team at one of the most important security companies in Latin America and Spain. Also, he is a security researcher at Cipher Storm Ltd. Group and is the co-founder and CEO of the most important security conference in Mexico called BugCON. He holds important security industry certifications such as OSCP, GCIA, and GPEN, and is also a FireEye specialist. He has also reviewed Penetration Testing with Backbox, Packt Publishing and Penetration Testing with the Bash shell, Packt Publishing. Thanks to all my friends for supporting me. Special thanks to my grandmother, Margarita; my sister, Abril; and to Krangel, Shakeel Ali, Mada, Hector Garcia Posadas, and Belindo. Caleb Smith began programming text adventures and RPGs in BASIC in his youth. More recently, Caleb can be found spending his days writing Python and JavaScript for web applications at Caktus Consulting Group, LLC. In his spare time, Caleb enjoys functional programming, ethnic food, C programming, music theory, and contributing to free and open source software projects. Caleb studied music education in college and especially enjoys mentoring new programmers. Deepak Thukral is a polyglot and Django framework contributor. He moved from India to Europe, where he completed his Master's degree in Computer Science, and later he was involved in various scientific projects using Python as the primary programming language. He currently works for various companies, helping them scale their platforms with Python. www.PacktPub.com Support files, eBooks, discount offers and more You might want to visit www.PacktPub.com for support files and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. TM http://PacktLib.PacktPub.com Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. Why Subscribe? • Fully searchable across every book published by Packt • Copy and paste, print and bookmark content • On demand and accessible via web browser Free Access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access. Table of Contents Preface 1 Chapter 1: Django's Position on the Web 7 From Web 1.0 to Web 2.0 7 Web 1.0 7 Web 2.0 8 What is Django? 9 Django – a web framework 9 The MVC framework 9 Why use Django? 11 Summary 12 Chapter 2: Creating a Django Project 13 Installing Python 3 13 Installing Python 3 for Windows 14 Installing Python 3 for Linux 14 Installing Python 3 for Mac OS 15 Installing setuptools 15 Installing setuptools for Windows 15 Installing setuptools for Linux 15 Installing setuptools for Mac OS 15 Installing PIP 16 Installing PIP for Windows 16 Installing PIP for Linux 16 Installing PIP for Mac OS 17 Installing Django 17 Installing Django for Windows 17 Installing Django for Linux 17 Installing Django for Mac OS 18

Description:
Develop simple web applications with the powerful Django framework Overview Get to know MVC pattern and the structure of Django Create your first webpage with Django mechanisms Enable user interaction with forms Program extremely rapid forms with Django features. Explore the best practices to develo
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.