Fix syntax errors
This commit is contained in:
parent
3ec79710ca
commit
7e3102b760
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ from settings import DEPLOY_PATH
|
|||
def index(request, page):
|
||||
|
||||
template = 'html_pages/%s/index.html' % page
|
||||
if not os.path.exists('%s/templates/%s' % (DEPLOY_PATH, template):
|
||||
if not os.path.exists('%s/templates/%s' % (DEPLOY_PATH, template)):
|
||||
raise Http404
|
||||
|
||||
c = {
|
||||
|
|
Loading…
Reference in a new issue