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" %}
{% load render_table from django_tables2 %}
{% load bootstrap4 %}
{% block section_title %}List of Computers{% endblock %}
{% block content %}
<p>
<form action="" method="get" class="form form-inline">
{% csrf_token %}
{% bootstrap_form filter.form %}
{% bootstrap_button 'Filter' %}
{{ filter.form.as_p }}
<input type="submit" value="Filter" class="btn btn-primary">
</form>
</p>
{% render_table table %}

View File

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

View File

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