From 08108b72e36beebc6c11d17e2ee3f60b4bce1f11 Mon Sep 17 00:00:00 2001 From: David Smith Date: Sun, 19 Jan 2020 20:22:39 +0000 Subject: [PATCH 1/6] bootstrap5 demo page --- bootstrap4/forms.py | 4 +- bootstrap4/templates/bootstrap4/index.html | 3 + bootstrap5/__init__.py | 0 bootstrap5/admin.py | 3 + bootstrap5/forms.py | 293 + bootstrap5/migrations/__init__.py | 0 bootstrap5/models.py | 3 + bootstrap5/templates/bootstrap5/base.html | 24 + bootstrap5/templates/bootstrap5/index.html | 48 + bootstrap5/tests.py | 3 + bootstrap5/views.py | 29 + static/bootstrap.css | 7605 ++++++++++++++++++++ test_project/settings.py | 6 + test_project/urls.py | 2 + 14 files changed, 8021 insertions(+), 2 deletions(-) create mode 100644 bootstrap5/__init__.py create mode 100644 bootstrap5/admin.py create mode 100644 bootstrap5/forms.py create mode 100644 bootstrap5/migrations/__init__.py create mode 100644 bootstrap5/models.py create mode 100644 bootstrap5/templates/bootstrap5/base.html create mode 100644 bootstrap5/templates/bootstrap5/index.html create mode 100644 bootstrap5/tests.py create mode 100644 bootstrap5/views.py create mode 100644 static/bootstrap.css diff --git a/bootstrap4/forms.py b/bootstrap4/forms.py index b6c1b95b..eeaf8779 100644 --- a/bootstrap4/forms.py +++ b/bootstrap4/forms.py @@ -175,8 +175,8 @@ class MessageForm(forms.Form): 'file_field_raw', 'grouped_checkboxes', Row( - Column('text_input_a','text_input_b'), - Column('text_input_c'), + Column('text_input_a','text_input_b',), + Column('text_input_c',), ), 'datetime_field', FormActions( diff --git a/bootstrap4/templates/bootstrap4/index.html b/bootstrap4/templates/bootstrap4/index.html index 883f0799..823d8fc5 100644 --- a/bootstrap4/templates/bootstrap4/index.html +++ b/bootstrap4/templates/bootstrap4/index.html @@ -13,6 +13,9 @@ +