Re: Error on Tutorial Part 3 - https://docs.djangoproject.com/en/1.3/intro/tutorial03/
Thank you for the clarification DR. I finished the beginning tutorial on djangoproject.com. I'm certainly going to need a lot more practice. I'll fix my code with your changes.
Best,
SB
On Fri, Mar 2, 2012 at 2:21 PM, Daniel Roseman <daniel@roseman.org.uk> wrote:
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.To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/xcPMN9h-SIgJ.--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
Sami Balbaky
System Engineer - Ultrawave Labs
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home