Django Admin Cookbook
By Shabda Raaj
()
About this ebook
Django Admin Cookbook - How to do things with Django admin.
This is a book about doing things with Django admin. If you are an intermediate Django developer who feel they are not getting the most from the admin, th
Related to Django Admin Cookbook
Related ebooks
Laravel 5.x Cookbook Rating: 0 out of 5 stars0 ratingsMeteor: Full-Stack Web Application Development Rating: 0 out of 5 stars0 ratingsSpring MVC Cookbook Rating: 0 out of 5 stars0 ratingsBootstrap 4 Site Blueprints Rating: 5 out of 5 stars5/550 Recipes for Programming Angular Rating: 4 out of 5 stars4/5Angular JS for Beginners: Your Guide to Easily Learn Angular JS In 7 Days Rating: 2 out of 5 stars2/5Node.js 6.x Blueprints Rating: 0 out of 5 stars0 ratingsPractical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities Rating: 0 out of 5 stars0 ratingsAngularJS Web Application Development Cookbook Rating: 0 out of 5 stars0 ratingsMastering Ext JS - Second Edition Rating: 0 out of 5 stars0 ratingsWeb Development with Django Cookbook - Second Edition Rating: 0 out of 5 stars0 ratingsProfessional C# and .NET Rating: 0 out of 5 stars0 ratingsSpring Security 3.x Cookbook Rating: 0 out of 5 stars0 ratingsProfessional ASP.NET Design Patterns Rating: 4 out of 5 stars4/5JavaScript Rating: 0 out of 5 stars0 ratingsSurviving the Whiteboard Interview: A Developer’s Guide to Using Soft Skills to Get Hired Rating: 5 out of 5 stars5/5Jasmine JavaScript Testing - Second Edition Rating: 0 out of 5 stars0 ratingsMicrosoft .NET Framework 4.5 Quickstart Cookbook Rating: 0 out of 5 stars0 ratingsJavaScript: Best Practices to Programming Code with JavaScript: JavaScript Computer Programming, #3 Rating: 0 out of 5 stars0 ratingsJava for Web Development: Create Full-Stack Java Applications with Servlets, JSP Pages, MVC Pattern and Database Connectivity Rating: 0 out of 5 stars0 ratingsAngular 2 Components Rating: 0 out of 5 stars0 ratingsJavaScript: Best Practices to Programming Code with JavaScript Rating: 0 out of 5 stars0 ratingsWeb Application Development with MEAN Rating: 0 out of 5 stars0 ratingsDistributed Computing in Java 9 Rating: 0 out of 5 stars0 ratingsLearning RabbitMQ with C#: A magical tool for the IT world Rating: 0 out of 5 stars0 ratingsPython Concurrency with asyncio Rating: 0 out of 5 stars0 ratingsContinuous Integration in .NET Rating: 0 out of 5 stars0 ratingsASP.NET 4.0 in Practice Rating: 0 out of 5 stars0 ratings
Information Technology For You
Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsData Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5How to Write Effective Emails at Work Rating: 4 out of 5 stars4/5CompTIA A+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Core 1 Exam 220-1101 Rating: 0 out of 5 stars0 ratingsHacking Essentials - The Beginner's Guide To Ethical Hacking And Penetration Testing Rating: 3 out of 5 stars3/5Cybersecurity for Beginners : Learn the Fundamentals of Cybersecurity in an Easy, Step-by-Step Guide: 1 Rating: 0 out of 5 stars0 ratingsHow To Use Chatgpt: Using Chatgpt To Make Money Online Has Never Been This Simple Rating: 0 out of 5 stars0 ratingsChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5Computer Science: A Concise Introduction Rating: 4 out of 5 stars4/5Inkscape Beginner’s Guide Rating: 5 out of 5 stars5/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5Unity Game Development Essentials Rating: 5 out of 5 stars5/5Investigating Child Exploitation and Pornography: The Internet, Law and Forensic Science Rating: 5 out of 5 stars5/5Learning Website Development with Django Rating: 0 out of 5 stars0 ratingsPersonal Knowledge Graphs: Connected thinking to boost productivity, creativity and discovery Rating: 0 out of 5 stars0 ratingsSupercommunicator: Explaining the Complicated So Anyone Can Understand Rating: 3 out of 5 stars3/5Windows Registry Forensics: Advanced Digital Forensic Analysis of the Windows Registry Rating: 4 out of 5 stars4/5Linux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Data Governance For Dummies Rating: 0 out of 5 stars0 ratingsThe Basics of Hacking and Penetration Testing: Ethical Hacking and Penetration Testing Made Easy Rating: 4 out of 5 stars4/5An Executive Guide to Identity Access Management - 2nd Edition Rating: 4 out of 5 stars4/5Computer Organization and Design: The Hardware / Software Interface Rating: 4 out of 5 stars4/5Panda3d 1.7 Game Developer's Cookbook Rating: 0 out of 5 stars0 ratingsSummary of Super-Intelligence From Nick Bostrom Rating: 5 out of 5 stars5/5Practical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5CompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratings
Reviews for Django Admin Cookbook
0 ratings0 reviews
Book preview
Django Admin Cookbook - Shabda Raaj
Django Admin Cookbook
_images/book-cover.pngDjango Admin Cookbook - How to do things with Django admin.
This is a book about doing things with Django admin. It takes the form of about forty questions and common tasks with Django admin we answer.
The chapters are based on a common set of models, which you can read in detail here (Models used in this book). In short, we have two apps, events and entities. The models are
Events: Epic, Event, EventHero, EventVillian
Entities: Category, Origin, Hero, Villain
Introduction
Text and Design
1. How to change ‘Django administration’ text?
2. How to set the plural text for a model?
3. How to create two independent admin sites?
4. How to remove default apps from Django admin?
5. How to add a logo to Django admin?
6. How to override Django admin templates?
Calculated fields
1. How to show calculated fields on listview page?
2. How to optimize queries in Django admin?
3. How to enable sorting on calculated fields?
4. How to enable filtering on calculated fields?
5. How to show on
or off
icons for calculated boolean fields?
Bulk and custom actions
1. How to add additional actions in Django admin?
2. How to export CSV from Django admin?
3. How to remove the delete selected action in Django admin?
4. How to add Custom Action Buttons (not actions) to Django Admin list page?
5. How to import CSV using Django admin?
Permissions
1. How to restrict Django admin to specific users?
2. How to restrict access to parts of Django admin?
3. How to allow creating only one object from the admin?
4. How to remove the ‘Add’/’Delete’ button for a model?
Multiple models and inlines
1. How to edit mutiple models from one Django admin?
2. How to add One to One relation as admin inline?
3. How to add nested inlines in Django admin?
4. How to create a single Django admin from two different models?
Listview Page
1. How to show larger number of rows on listview page?
2. How to disable django admin pagination?
3. How to add date based filtering in Django admin?
4. How to show many to many or reverse FK fields on listview page?
Changeview Page
1. How to show image from Imagefield in Django admin.
2. How to associate model with current user while saving?
3. How to mark a field as readonly in admin?
4. How to show an uneditable field