· 7 years ago · Dec 01, 2018, 07:26 AM
1 73 # 'django.contrib.staticfiles.finders.DefaultStorageFinder',
2 74 )
3 75
4 76 # Make this unique, and don't share it with anybody.
5 77 SECRET_KEY = 't989dde=3hrm_j#6^*%e4w#8*q+*mkoe=uh201-&bx$$v-a'
6 78
7 79 # List of callables that know how to import templates from various sources.
8 80 TEMPLATE_LOADERS = (
9 81 'django.template.loaders.filesystem.Loader',
10 82 'django.template.loaders.app_directories.Loader',
11 83 # 'django.template.loaders.eggs.Loader',
12 84 )
13 85 TEMPLATE_CONTEXT_PROCESSORS = (
14 86 'django.contrib.auth.context_processors.auth',
15 87 'django.core.context_processors.debug',
16 88 'django.core.context_processors.i18n',
17 89 'django.core.context_processors.media',
18 90 'django.core.context_processors.static',
19 91 'django.core.context_processors.tz',
20 92 'django.core.context_processors.request',
21 93 'django.contrib.messages.context_processors.messages',
22 94 )
23 95 MIDDLEWARE_CLASSES = (
24 96 'django.middleware.common.CommonMiddleware',
25 97 'django.contrib.sessions.middleware.SessionMiddleware',
26 98 'django.middleware.csrf.CsrfViewMiddleware',
27 99 'django.contrib.auth.middleware.AuthenticationMiddleware',
28100 'django.contrib.messages.middleware.MessageMiddleware',
29101 'django.middleware.locale.LocaleMiddleware',
30102 # Uncomment the next line for simple clickjacking protection:
31103 # 'django.middleware.clickjacking.XFrameOptionsMiddleware',
32104 )
33105
34106 ROOT_URLCONF = 'teste.urls'
35107
36108 # Python dotted path to the WSGI application used by Django's runserver.
37109 WSGI_APPLICATION = 'teste.wsgi.application'
38110
39111 TEMPLATE_DIRS = (
40112
41113 '/home/vnSd5L7M1z/webapps/teste/static',
42114 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
43115 # Always use forward slashes, even on Windows'/home/vnSd5L7M1z/webapps/teste/static/'
44116 # Don't forget to use absolute paths, not relative paths.
45117 )
46118
47119 INSTALLED_APPS = (
48120 'django.contrib.auth',
49121 'django.contrib.contenttypes',
50122 'django.contrib.sessions',
51123 'django.contrib.sites',
52124 'django.contrib.messages',
53 73,1 61%