tanx On Mon, Aug 2, 2010 at 11:54 AM, Jirka Vejrazka <jirka.vejra...@gmail.com>wrote:
> os.path is a standard Python module, you do have it already. > > Cheers > > Jirka > > > On 02/08/2010, yalda.nasirian <yalda.nasir...@gmail.com> wrote: > > hi > > > > note > > > > If you want to be a bit more flexible and decoupled, though, you can > > take advantage of the fact that Django settings files are just Python > > code by constructing the contents of TEMPLATE_DIRS dynamically, for > > example: > > > > import os.path > > > > TEMPLATE_DIRS = ( > > os.path.join(os.path.dirname(__file__), 'templates').replace('\ > > \','/'), > > ) > > > > where is my is.path ? how can i get it ? > > > > tanx friends > > > > -- > > 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<django-users%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > > http://groups.google.com/group/django-users?hl=en. > > > > > > -- > 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<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- 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.