Supprime la dépendance sur sekizai

This commit is contained in:
Benjamin Dauvergne 2015-03-05 23:58:44 +01:00
parent b3af03a61e
commit 8a5105c226
2 changed files with 1 additions and 7 deletions

View File

@ -37,7 +37,6 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'sekizai',
'project_name.project_name',
)
@ -87,8 +86,6 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
LOCALE_PATHS = [os.path.join(BASE_DIR, 'project_name', 'locale')]
TEMPLATE_CONTEXT_PROCESSORS += ('sekizai.context_processors.sekizai',)
ATOMIC = True
# Static files (CSS, JavaScript, Images)

View File

@ -1,10 +1,8 @@
{% load i18n sekizai_tags staticfiles %}<!DOCTYPE html>
{% load i18n staticfiles %}<!DOCTYPE html>
<html>
<head>
<title>Project Name</title>
<link rel="stylesheet" href="{% static "project_name/css/style.css" %}" />
{% render_block "css" %}
{% render_block "js" %}
</head>
<body {% block bodyattr %}{% endblock %}>
@ -12,6 +10,5 @@
{% block content %}
{% endblock %}
</div>
{% render_block "js-endpage" %}
</body>
</html>