On 01-Oct-06, at 2:43 PM, Russell Keith-Magee wrote:
> 1) load the template 'index.html', rather than 'selecto/index.html'
> 2) Drop 'selecto' from your TEMPLATE_DIRs definition
> 3) put your templates in /home/marco/test_/test/selecto/selecto
2 is best. dont do 3 ;-)
--
regards
kg
http://la
On 10/1/06, Marco Amato <[EMAIL PROTECTED]> wrote:
> Hi to all !
> TEMPLATE_DIRS = (
> '/home/marco/test_/test/selecto/')
...
> t = loader.get_template('selecto/index.html')
...
> where I am wrong ?
By the look of it, you have duplicated 'selecto' in the path that
Django is looking for
On 01-Oct-06, at 2:22 PM, Marco Amato wrote:
> t = loader.get_template('selecto/index.html')
t = loader.get_template('index.html')
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message
sound like the directory that I setting in the setting.py doesnt work correctly I correct this using in view.py only 'index.html' and in TEMPLATES_DIR the complete pathThanks ,and sorry for the stupid question
On 10/1/06, Marco Amato <[EMAIL PROTECTED]> wrote:
Hi to all !I have this error :Template
Hi to all !I have this error :TemplateDoesNotExist at /
selecto/index.htmlfrom :---setting.pyTEMPLATE_DIRS = ( '/home/marco/test_/test/selecto/')--selecto/view.pydef index(request): list = Evento.objects.all().order_by('-data')[:5]
t = loader.get_template('selecto/index.html')
5 matches
Mail list logo