remove django-bootstrap4

most of this should be achievable without an additional plugin
This commit is contained in:
Andreas Zweili 2020-02-28 17:32:25 +01:00
parent 0364da19f1
commit d2db343809
3 changed files with 2 additions and 5 deletions

View File

@ -1,14 +1,13 @@
{% extends "core/base.html" %} {% extends "core/base.html" %}
{% load render_table from django_tables2 %} {% load render_table from django_tables2 %}
{% load bootstrap4 %}
{% block section_title %}List of Computers{% endblock %} {% block section_title %}List of Computers{% endblock %}
{% block content %} {% block content %}
<p> <p>
<form action="" method="get" class="form form-inline"> <form action="" method="get" class="form form-inline">
{% csrf_token %} {% csrf_token %}
{% bootstrap_form filter.form %} {{ filter.form.as_p }}
{% bootstrap_button 'Filter' %} <input type="submit" value="Filter" class="btn btn-primary">
</form> </form>
</p> </p>
{% render_table table %} {% render_table table %}

View File

@ -23,7 +23,6 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
INSTALLED_APPS = [ INSTALLED_APPS = [
'backups.apps.BackupsConfig', 'backups.apps.BackupsConfig',
'bootstrap4',
'computers.apps.ComputersConfig', 'computers.apps.ComputersConfig',
'core.apps.CoreConfig', 'core.apps.CoreConfig',
'crispy_forms', 'crispy_forms',

View File

@ -6,7 +6,6 @@ django-guardian
django-tables2 django-tables2
django-filter django-filter
django-nested-admin django-nested-admin
django-bootstrap4
django-floppyforms django-floppyforms
django-crispy-forms django-crispy-forms
pytest pytest