On Friday, 2 March 2012 21:47:54 UTC, Django_for_SB wrote:
>
> Thank you everyone for your very insightful and helps remarks. I had 2 
> issues with my code:
>
> 1) I didn't properly separate my directory strings with commas and 
> 2) I need to code the directory structure, and the absolute path to the 
> file itself. 
>
> Here is the correct code from within settings.py:
>
> TEMPLATE_DIRS = (
>     # 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.
>     'C:/Python27/my_Djando_
> projects/mysite/My_Templates/admin/base_site.html',
>     'C:/Python27/my_Djando_projects/mysite/My_Templates/admin/index.html',
>     'C:/Python27/my_Djando_projects/mysite/My_Templates/',
> )
>

No, this is *not* correct. It may work, but that's because the first two 
will simply not be found.

You *only* need the last line here (including the comma).
--
DR. 

>  
>

-- 
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/-/xcPMN9h-SIgJ.
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