File tree 1 file changed +2
-14
lines changed
django_ecommerce/django_ecommerce_project/django_ecommerce_project
1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 1
1
import os
2
2
3
- PROJECT_ROOT = os .path .dirname ( os . path . dirname ( __file__ )) #os.path. realpath(os.path.dirname(__file__))
3
+ PROJECT_ROOT = os .path .realpath (os .path .dirname (__file__ ))
4
4
SITE_ROOT = os .path .dirname (PROJECT_ROOT )
5
- # TEMPLATE_DIRS = (os.path.join(SITE_ROOT, 'templates'),)
6
- # print TEMPLATE_DIRS
7
- # print "hola"
8
- # print "############################"
9
- # Django settings for django_ecommerce_project project.
5
+ TEMPLATE_DIRS = (os .path .join (SITE_ROOT , 'templates' ),)
10
6
11
7
12
8
DEBUG = True
116
112
# Python dotted path to the WSGI application used by Django's runserver.
117
113
WSGI_APPLICATION = 'django_ecommerce_project.wsgi.application'
118
114
119
- TEMPLATE_DIRS = (
120
- os .path .join (SITE_ROOT , 'templates' ),
121
- # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
122
- # Always use forward slashes, even on Windows.
123
- # Don't forget to use absolute paths, not relative paths.
124
-
125
- )
126
-
127
115
INSTALLED_APPS = (
128
116
'django.contrib.auth' ,
129
117
'django.contrib.contenttypes' ,
You can’t perform that action at this time.
0 commit comments