like this is also fine:

os.path.join(os.path.dirname(__file__),'templates'),

On Mar 18, 3:16 pm, brooder <agnel.kur...@gmail.com> wrote:
> http://docs.djangoproject.com/en/1.1/intro/tutorial01/#intro-tutorial01
>
> Tutorial 1 says: "When specifying the path, always use forward
> slashes, even on Windows (e.g. C:/homes/user/mysite/sqlite3.db)."
>
> Why? What if I want to use os.path.dirname() (as suggested 
> here:http://stackoverflow.com/questions/550644#550644)?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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