Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unnecessary apps

Marek Brzóska5dced4b726ed
diff --git a/saleor/settings.py b/saleor/settings.py
index d39197641d..c7545c0afc 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -68,25 +68,22 @@ MIDDLEWARE_CLASSES = (
)
TEMPLATE_CONTEXT_PROCESSORS = (
- 'django.contrib.auth.context_processors.auth',
- 'django.core.context_processors.debug',
- 'django.core.context_processors.i18n',
- 'django.core.context_processors.media',
- 'django.core.context_processors.static',
- 'django.core.context_processors.tz',
- 'django.contrib.messages.context_processors.messages',
- 'django.core.context_processors.request',
+ 'django.contrib.auth.context_processors.auth',
+ 'django.core.context_processors.debug',
+ 'django.core.context_processors.i18n',
+ 'django.core.context_processors.media',
+ 'django.core.context_processors.static',
+ 'django.core.context_processors.tz',
+ 'django.contrib.messages.context_processors.messages',
+ 'django.core.context_processors.request',
)
INSTALLED_APPS = (
# External apps that need to go before django's
- 'admin_bootstrap',
# Django modules
- 'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
- 'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
@@ -95,6 +92,7 @@ INSTALLED_APPS = (
'south',
'django_prices',
'mptt',
+
# Local apps
'saleor',
'product',
diff --git a/saleor/templates/admin/mptt_change_list_results.html b/saleor/templates/admin/mptt_change_list_results.html
deleted file mode 100644
index e71889caf5..0000000000
--- a/saleor/templates/admin/mptt_change_list_results.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{% if result_hidden_fields %}
-<div class="hiddenfields">{# DIV for HTML validation #}
-{% for item in result_hidden_fields %}{{ item }}{% endfor %}
-</div>
-{% endif %}
-{% if results %}
-<div class="results">
-<table cellspacing="0" id="result_list" class="table table-bordered table-striped">
-<thead>
-<tr>
-{% for header in result_headers %}<th scope="col"{{ header.class_attrib }}>
-{{ header.text|capfirst }}
-{% if header.sortable %}</a>{% endif %}</th>{% endfor %}
-</tr>
-</thead>
-<tbody>
-{% for result in results %}
-{% if result.form.non_field_errors %}
- <tr><td colspan="{{ result|length }}">{{ result.form.non_field_errors }}</td></tr>
-{% endif %}
-<tr class="{% cycle 'row1' 'row2' %}">{% for item in result %}{{ item }}{% endfor %}</tr>
-{% endfor %}
-</tbody>
-</table>
-</div>
-{% endif %}