Re: A PHP framework with some Django features?

2013-06-28 Thread Gustavo Carneiro
On Fri, Jun 28, 2013 at 7:26 PM, Javier Guerra Giraldez wrote: > On Fri, Jun 28, 2013 at 1:16 PM, Gustavo Carneiro > wrote: > > I don't know what you mean. You can use apache mod_wsgi to have apache > > directly serve Django web apps[1], same as PHP. > > > in m

Re: A PHP framework with some Django features?

2013-06-28 Thread Gustavo Carneiro
On Fri, Jun 28, 2013 at 7:04 PM, Javier Guerra Giraldez wrote: > On Fri, Jun 28, 2013 at 12:54 PM, Jason Arnst-Goodrich > wrote: > > Nobody's ever switched FROM Django TO PHP as far as I know :) > > > maybe not, but returns to PHP might be common. > > still many people take PHPs ease of deploymen

Re: Doubt the split()

2013-06-21 Thread Gustavo Carneiro
But note that this question is completely off-topic for the django-users list. On Fri, Jun 21, 2013 at 5:47 PM, Tomas Neme wrote: > a regex? > > something like re.match("\[ yourstring).groups()[0] > > -- > You received this message because you are subscribed to the Google Groups > "Django users

Re: File wsgi.py identify SO

2013-06-19 Thread Gustavo Carneiro
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

Re: File wsgi.py identify SO

2013-06-19 Thread Gustavo Carneiro
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? >