Re: how to set template and media directory in settings?
And trying like this:
>>> PROJECT_PATH = os.path.abspath(os.path.dirname(__name__))
>>> PROJECT_PATH
'C:\\Users\\Mario'
>>> os.path.join(os.path.dirname(PROJECT_PATH), "..")
'C:\\Users\\..'
Best regards
Att. Mário Araújo Chaves Neto
Programmer, Designer and U.I. Engineer
MBA in Design Digital - 2008 - FIC
Analysis and Systems Development - 2011 - Estácio
Design and Implementation of Internet Environments - 2003 - FIC
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