Glad that you solved it! However, i would recommend using absolute
path instead of a relative path as it might break when you clone or
move it to another location.



On Fri, Aug 17, 2012 at 6:17 PM, madala <jdah...@yahoo.co.uk> wrote:
> Thanks I solved it. Was looking up wrong directory because I followed the
> instructions to put the absolute path. If I put the relative path it works
> fine. Thanks for taking time to answer anyway. People are so kind! :0)
>
> On Tuesday, 14 August 2012 14:54:45 UTC+1, ephan wrote:
>>
>> Have you checked the permissions of the directory and template
>> files?
>> run ls -l in the parent directory of the template folder and inside
>> the folder itself .
>> madala wrote:
>> > Have followed tutorial 2 instructions carefully. So far everything has
>> > worked as described in tutorials but cannot get django to load files
>> > from
>> > my own template directory. Seems a very simple problem.
>> >
>> > here's the part of my settings.py:
>> >
>> > TEMPLATE_DIRS = (
>> >     '/home/madala/WebsiteCode/templates',
>> >     "/home/madala/Website/templates",
>> >     # Put strings here, like "/home/html/django_templates" or
>> > "C:/www/django/templates".
>> >     # Always use forward slashes, even on Windows.
>> >     # Don't forget to use absolute paths, not relative paths.
>> > )
>> >
>> > So I carried on and started tutorial 3 till I got halfway down and had
>> > to
>> > do same thing but no matter what I try can't get Django to recognize my
>> > directories.
>> >
>> > Can anyone see where I am going wrong please? thanks in anticipation.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/-WksJy4qUkoJ.
>
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.



-- 
Thanks & Regards
----------------------------

Amyth [Admin - Techstricks]
Email - aroras.offic...@gmail.com, ad...@techstricks.com
Twitter - @a_myth_________
http://techstricks.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to