File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 1313 'ENGINE' : 'django.db.backends.sqlite3' ,
1414 }
1515 },
16+ MIDDLEWARE = [
17+ 'django.middleware.security.SecurityMiddleware' ,
18+ 'django.contrib.sessions.middleware.SessionMiddleware' ,
19+ 'django.middleware.common.CommonMiddleware' ,
20+ 'django.middleware.csrf.CsrfViewMiddleware' ,
21+ 'django.contrib.auth.middleware.AuthenticationMiddleware' ,
22+ 'django.contrib.messages.middleware.MessageMiddleware' ,
23+ 'django.middleware.clickjacking.XFrameOptionsMiddleware' ,
24+ ],
1625 TEMPLATES = [{
1726 'BACKEND' : 'django.template.backends.django.DjangoTemplates' ,
1827 'DIRS' : [
2938 ],
3039 },
3140 }],
41+ STATIC_URL = '/static/' ,
3242 ROOT_URLCONF = 'martor.tests.urls' ,
33- INSTALLED_APPS = ['django.contrib.auth' ,
43+ INSTALLED_APPS = ['django.contrib.admin' ,
44+ 'django.contrib.auth' ,
3445 'django.contrib.contenttypes' ,
3546 'django.contrib.sessions' ,
36- 'django.contrib.admin' ,
47+ 'django.contrib.messages' ,
48+ 'django.contrib.staticfiles' ,
3749 'martor' ])
3850
3951try :
You can’t perform that action at this time.
0 commit comments