ok, thanks for the help
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-us
On Wed, Jun 19, 2013 at 3:15 PM, Hélio Miranda wrote:
> I was trying this:
> *if os.name == 'nt':*
> *sys.path.append('c:/Projectos/Test/') # Windows*
> *else:*
> *sys.path.append('/srv/django/OnPitch/') # other (unix)*
>
> doing so, looking at the link that you send will not give
> *if s
I was trying this:
*if os.name == 'nt':*
*sys.path.append('c:/Projectos/Test/') # Windows*
*else:*
*sys.path.append('/srv/django/OnPitch/') # other (unix)*
doing so, looking at the link that you send will not give
*if sys.platform('win32'):*
*sys.path.append('c:/Projectos/Test/') # Win
On Wed, Jun 19, 2013 at 2:29 PM, Hélio Miranda wrote:
> Hi
> I wonder if someone can help me.
> My problem is the following:
> in my file wsgi.py django, I wish I could make a condition if OS is
> windows running sys.path.append (...) if linux runs sys.path.append ('...')
>
> Is this possible?
>
4 matches
Mail list logo