Learn basics of Django
Django is a robust, complete, open-source Python web framework developed for rapid development and clean design. Whether you are looking to start a project in Django, or just need basic information to start learning, Livecoding.tv community has all you need. You can start with our Django tutorials and resources, then subscribe to Django livestreams and watch top Django videos created by experienced Django coders. You are welcome!
Introduction to Django Python Framework
Django is the most popular Python Framework out there. It is open-source and free to use. It also follows Model-View-Controller (MVC) architecture which is now the defacto architecture utilized in the development of web apps. Django shines in its non-modular architecture. It can help the easy development of database-drive websites which are complex in nature. Moreover, it is ready for reusability, and pluggable environment can enable developers to do rapid development. It also follows the DRY philosophy, enabling minimal code to be written, saving time. Just like any other web framework it offers basic CRUD operation and a simple to use admin panel for easy administration.
The whole philosophy behind Django is rapid development and making complex projects work for the developer.
Django was created in the year 2003 by Adrian Holovaty and Simon Willison when they started using Python to develop a web application. They were working in Lawrence Journal-World newspaper and clearly had a good idea of what they were trying to achieve.
It was released in July 2005 under the BSD license and was named after the guitarist Django Reinhardt. In the year 2008, a foundation named Django Software Foundation (DSF) was established to maintain Django.
Django framework is one of the most amazing web framework out there. The community is huge, ensuring that Django offers cutting edge web development environment and practices. And, that’s why there are plenty of useful tools to use with Django framework. Below is the list of Django tools that you will find useful in your development environment.
- Django-Debug-Toolbar - Work extensively with Django using the debug toolbar. The toolbar will enable you to track down the bugs in your code and help you be productive in your project.
- Django-Dev-ServerDjango dev server is a clean replacement for the inbuilt Django runserver. It offers better control than the runserver for development purposes.
- Django Test Utils Bunch of utilities for testing your Django applications.
- Django Extensions repository of custom management extensions for the Django Framework.
- Django autofixture can create auto-generated test data.
Learning from Books can never get old. Below are the best Django books you can get your hands on. It is divided into three categories, Beginners, Intermediate and Advanced for anyone to make the most out of it. Choose the best book that fits your requirement.
by Antonio Mele
Learn Django by building fully-functional, real-world web applications from scratch. Develop powerful web applications using the best coding practices. Integrate other technologies into your application with clear, step-by-step explanations and comprehensive example code.
How can you take advantage of the Django framework to integrate complex client-side interactions and real-time features into your web applications? Through a series of rapid application development projects, this hands-on book shows experienced Django developers how to include REST APIs, WebSockets, and client-side MVC frameworks such as Backbone.js into new or existing projects.
The Definitive Guide to Django is broken into three parts, with the first introducing Django fundamentals such as installation and configuration, and creating the components that together power a Django–driven web site. The second part delves into the more sophisticated features of Django, including outputting non–HTML content such as RSS feeds and PDFs, caching, and user management. The appendixes serve as a detailed reference to Django’s many configuration options and commands.
This book is for intermediate-level and professional Django users who need to build projects that are multilingual, functional on devices of different screen sizes, and that scale over a period of time. If you have created websites with Django but you want to sharpen your knowledge and learn some good approaches to different aspects of web development, you should definitely read this book.
Build a Django content management system, blog, and social networking site with James Bennett as he introduces version 1.1 of the popular Django framework.
You’ll work through the development of each project, implementing and running the applications while learning new features along the way.
Getting started with Django is easy. There are tutorials and books that literally walk you through the process of getting your first site up and running. Taking that code from your laptop to the real world is like opening pandora's box.
Should I use Apache, Gunicorn, uWSGI or something else?
Where should I use caching to make things faster?
How do I know if my database has the right indexes or if it needs more resources?
Do I need a NoSQL database like MongoDB?
The site runs great on my laptop. Why is it so slow in production?
How many servers does my site need? How big should they be?
What is the 20% effort that will solve 80% of my performance problems?
Browser calls with Django and Twilio enable you to learn how to create a web app with the help of the Twilo Client and Django. The web app will be transformed into a full-fledged phone.
Txt 2 React enables the audience to send a text during a presentation and ask questions to the presenter. You can also provide feedback if needed.
Openduty lets you check websites and provides alerts. It works very similar to PagerDuty.
Courtside is written by PyCoder’s Weekly author and acts as a sports web application.
Taiga is written completely in AngularJS and Django. It is a project management tool.
Django is a very popular web framework. The popularity of Python and only enabled Django to be widespread. Below are some of the main Django community that are you can join and make a difference.
- Official Django Community page
More than 10 000 members from 160 +countries worldwide with 3000+ various projects and packages.
- #django IRC channel
chat with other Django users.
They are extremely helpful and not too harsh on beginners.
- Django planet
News aggregator from django related blogs. There is also list of great blogs to follow.
- Django Girls
Django Girls is a non-profit organization and a community that empowers and helps women to organize free, one-day programming workshops by providing tools, resources and support
- Python/Django | Pirsipy (RU): One of the biggest Django community in VK.com
Daniel Roseman is well known for his interest in Django. He invested early in the framework and is a big fan of Python programming language. He has been working on Django from the version 0.91 and makes the most out of the knowledge. He is also very active on StackOverflow and blogs on different technologies including Python and Django.Github Twitter
Jacob Kaplan-Moss is yet another co-creator of Django web framework. With more than 10+ years of coding experience, he is a Python developer and open source contributor. He also loves public speaking and is a frequent speaker on open source technology. His presence can easily be felt in PyCon. With such a vast experience under his belt, he currently provides his services to Heroku acting as a Director of Security. He has also written a book on Django known as the "The Definite Guide to Django".Github Twitter
Django conferences let you know the latest happening in the Django ecosystem. The best conferences that you can go to know more about Django are as follows.
- Djangocon US
DjangoCon is a US based international community conference. It is held by the community for the community. It takes places in North America and is a yearly event. The only technology that is discussed here is Django web framework.
- DjangoCon Europe
DjangoCon Europe is well known for Django contribution. It is well-known for its non-profit approach and is always community-based. In the conference, you can meet, learn and enjoy what others have to offer.
- Django Under The Hood
Django Under the Hood offers great opportunities for the Django community. The conference is full of knowledge, and you will love the connections that you can make there.
- PyDelhi Conference
PyDelhi can be both about Python and Django. It offers tricks and tips to improve Django project and ensure that everyone takes part.