Commit 9f6d2711 authored by Amap's avatar Amap

Supprime stuff inutile

parent bf650f32
...@@ -9,7 +9,7 @@ https://docs.djangoproject.com/en/1.8/ref/settings/ ...@@ -9,7 +9,7 @@ https://docs.djangoproject.com/en/1.8/ref/settings/
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os import os
from .settings_local import SECRET_KEY, DATABASES, DEBUG, ALLOWED_HOSTS, ASSO_NAME, ASSO_ADDRESS_LINE1, ASSO_ADDRESS_LINE2, ASSO_SIRET, ASSO_EMAIL, ASSO_PHONE, LOGO_PATH, services_urls, REQ_EXPIRE_HRS, REQ_EXPIRE_STR, EMAIL_FROM, MINIMUM_LEVEL, EMAIL_HOST, SEARCH_RESULT, SITE_NAME from .settings_local import *
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
......
...@@ -2,7 +2,6 @@ from django.shortcuts import render ...@@ -2,7 +2,6 @@ from django.shortcuts import render
from django.shortcuts import render_to_response, get_object_or_404 from django.shortcuts import render_to_response, get_object_or_404
from django.template.context_processors import csrf from django.template.context_processors import csrf
from django.template import Context, RequestContext, loader from django.template import Context, RequestContext, loader
from amap.settings import services_urls
def form(ctx, template, request): def form(ctx, template, request):
c = ctx c = ctx
...@@ -11,4 +10,4 @@ def form(ctx, template, request): ...@@ -11,4 +10,4 @@ def form(ctx, template, request):
def index(request): def index(request):
return form({'services_urls': services_urls}, 'amap/index.html', request) return form({}, 'amap/index.html', request)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment