This is the code repository for Django By Example, published by Packt.
Django is a powerful Python web framework designed to develop web applications quickly, from simple prototypes to large-scale projects. Django encourages clean, pragmatic design, and provides developers with a comprehensive set of tools to build scalable web applications.
This book covers the following exciting features: Build practical real-world web applications with Django Use Django with other technologies such as Redis, Celery, Solr and Memcached Develop pluggable Django applications Create advanced features, optimize your code and use the cache framework Add internationalization to your Django projects Enhance the user experience using JavaScript and AJAX Add social features to your projects Build RESTful APIs for your applications
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
Following is what you need for this book: If you are a web developer who is completely new to or familiar with Django and wants to make the most of it, this book is for you. Some basic knowledge of Python, HTML, and JavaScript is recommended.
Antonio Mele holds a master's degree in computer science. He has been developing Django projects since 2006 and he leads the django.es Spanish Django community. Antonio founded Zenx IT, a company that develops web applications for clients of several industries. He has also worked as CTO for various technology-based start-ups. His father inspired his passion for computers and programming.
Click here if you have any feedback or suggestions.