Bootstrap 4 for Django
Bootstrap 4 integration for Django.
Django was designed to help developers take applications from concept to completion as quickly as possible. See how fast you can start building Fully loaded. Django includes dozens of extras you can use to handle common Web development tasks. Django takes care of user authentication, content administration, site maps, RSS feeds, and many more. With the completion of the Django 3.x major release cycle and in accordance with DEP-10 it is now time to collect candidates for the Django Technical Board. Posted by Chaim Kirby on April 21, 2021 Django Debug Toolbar security releases issued: 3.2.1, 2.2.1 and 1.11.1. Django Debug Toolbar 3.2.1, 2.2.1 and 1.11.1 fix a security issue.
The goal of this project is to seamlessly blend Django and Bootstrap 4.
Python 3.6 or newer with Django >= 2.2 or newer.
The full documentation is at https://django-bootstrap4.readthedocs.io/
- Install using pip:
Alternatively, you can install download or clone this repo and call
pip install -e ..
- Add to
- In your templates, load the
bootstrap4library and use the
bootstrap_*tags. See example below.
A demo app is provided in
demo. You can run it from your virtualenv with
python manage.py runserver.
Bugs and suggestions
If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.
You can use this under BSD-3-Clause. See LICENSE file for details.
Developed and maintained by Zostera.
Original author: Dylan Verheul.
Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.
Please see AUTHORS for a list of contributors.
Release historyRelease notifications RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django_bootstrap4-3.0.1-py3-none-any.whl (24.5 kB)||File type Wheel||Python version py3||Upload date||Hashes|
|Filename, size django-bootstrap4-3.0.1.tar.gz (58.6 kB)||File type Source||Python version None||Upload date||Hashes|
Hashes for django_bootstrap4-3.0.1-py3-none-any.whl
Hashes for django-bootstrap4-3.0.1.tar.gz
Everything you need to know about Django.
Are you new to Django or to programming? This is the place to start!
- From scratch:OverviewInstallation
- Tutorial:Part 1: Requests and responsesPart 2: Models and the admin sitePart 3: Views and templatesPart 4: Forms and generic viewsPart 5: TestingPart 6: Static filesPart 7: Customizing the admin site
- Advanced Tutorials:How to write reusable appsWriting your first patch for Django
Having trouble? We’d like to help!
- Try the FAQ – it’s got answers to many common questions.
- Looking for specific information? Try the Index, Module Index orthe detailed table of contents.
- Not found anything? See FAQ: Getting Help for information on getting supportand asking questions to the community.
- Report bugs with Django in our ticket tracker.
How the documentation is organized¶
Django has a lot of documentation. A high-level overview of how it’s organizedwill help you know where to look for certain things:
- Tutorials take you by the hand through a series ofsteps to create a Web application. Start here if you’re new to Django or Webapplication development. Also look at the “First steps”.
- Topic guides discuss key topics and concepts at afairly high level and provide useful background information and explanation.
- Reference guides contain technical reference for APIs andother aspects of Django’s machinery. They describe how it works and how touse it but assume that you have a basic understanding of key concepts.
- How-to guides are recipes. They guide you through thesteps involved in addressing key problems and use-cases. They are moreadvanced than tutorials and assume some knowledge of how Django works.
The model layer¶
Django provides an abstraction layer (the “models”) for structuring andmanipulating the data of your Web application. Learn more about it below:
- Models:Introduction to modelsField typesIndexesMeta optionsModel class
- QuerySets:Making queriesQuerySet method referenceLookup expressions
- Model instances:Instance methodsAccessing related objects
- Migrations:Introduction to MigrationsOperations referenceSchemaEditorWriting migrations
- Advanced:ManagersRaw SQLTransactionsAggregationSearchCustom fieldsMultiple databasesCustom lookupsQuery ExpressionsConditional ExpressionsDatabase Functions
- Other:Supported databasesLegacy databasesProviding initial dataOptimize database accessPostgreSQL specific features
The view layer¶
Django has the concept of “views” to encapsulate the logic responsible forprocessing a user’s request and for returning the response. Find all you needto know about views via the links below:
- The basics:URLconfsView functionsShortcutsDecoratorsAsynchronous Support
- Reference:Built-in ViewsRequest/response objectsTemplateResponse objects
- File uploads:OverviewFile objectsStorage APIManaging filesCustom storage
- Class-based views:OverviewBuilt-in display viewsBuilt-in editing viewsUsing mixinsAPI referenceFlattened index
- Advanced:Generating CSVGenerating PDF
- Middleware:OverviewBuilt-in middleware classes
The template layer¶
The template layer provides a designer-friendly syntax for rendering theinformation to be presented to the user. Learn how this syntax can be used bydesigners and how it can be extended by programmers:
- The basics:Overview
- For designers:Language overviewBuilt-in tags and filtersHumanization
- For programmers:Template APICustom tags and filtersCustom template backend
Django provides a rich framework to facilitate the creation of forms and themanipulation of form data.
- The basics:OverviewForm APIBuilt-in fieldsBuilt-in widgets
- Advanced:Forms for modelsIntegrating mediaFormsetsCustomizing validation
The development process¶
Learn about the various components and tools to help you in the development andtesting of Django applications:
- Settings:OverviewFull list of settings
- django-admin and manage.py:OverviewAdding custom commands
- Testing:IntroductionWriting and running testsIncluded testing toolsAdvanced topics
- Deployment:OverviewWSGI serversASGI serversDeploying static filesTracking code errors by emailDeployment checklist
Find all you need to know about the automated admin interface, one of Django’smost popular features:
Security is a topic of paramount importance in the development of Webapplications and Django provides multiple protection tools and mechanisms:
Internationalization and localization¶
Django offers a robust internationalization and localization framework toassist you in the development of applications for multiple languages and worldregions:
- OverviewInternationalizationLocalizationLocalized Web UI formatting and form input
Performance and optimization¶
Django 3.0 Tutorial
There are a variety of techniques and tools that can help get your code runningmore efficiently - faster, and using fewer system resources.
GeoDjango intends to be a world-class geographicWeb framework. Its goal is to make it as easy as possible to build GIS Webapplications and harness the power of spatially enabled data.
Common Web application tools¶
Django 3 By Example Pdf
Django offers multiple tools commonly needed in the development of Webapplications:
- Authentication:OverviewUsing the authentication systemPassword managementCustomizing authenticationAPI Reference
Other core functionalities¶
Learn about some other core functionalities of the Django framework:
The Django open-source project¶
Learn about the development process for the Django project itself and about howyou can contribute:
- Community:How to get involvedThe release processTeam organizationThe Django source code repositorySecurity policiesMailing lists
- Design philosophies:Overview
- Documentation:About this documentation
- Third-party distributions:Overview
- Django over time:API stabilityRelease notes and upgrading instructionsDeprecation Timeline