Thursday 24 May 2012

Django problem #1

when using Django , we come accross a settings.py , the user needs to make modifications to the file in order to use it.

THE PROBLEM I FACED:

> we are to give path of the template folder to the (TEMPLATE DIER)
i gave the incomplete address i.e.
TEMPLATE DIER('Documents/mysite/templates')

> which gave error

THE SOLUTION:

>give absolute address i.e.

TEMPLATE DIER('home/demon/Documents/mysite/templates')

No comments:

Post a Comment