DJANGO 1.1 dynamic url on static javascript

2017-05-30 Thread lenin david
*Context* I am adding a static javascript file to my **ModelForm** on this way forms.py class SomeForm(forms.ModelForm): class Media: js = ('some-javascript.js',) *Problem* On this javascript I need send a GET request to a rest endpoint hosted on same application u

DJANGO 1.1 dynamic url on static javascript

2017-05-30 Thread lenin david
## Context I am adding a static javascript file to my **ModelForm** on this way forms.py class SomeForm(forms.ModelForm): class Media: js = ('some-javascript.js',) ## Problem On this javascript I need send a GET request to a rest endpoint hosted on same application

Re: What's the best configuration for Apache + mod_wsgi + nginx

2009-01-13 Thread lenin
On 9 ene, 19:18, Graham Dumpleton wrote: > You thus perhaps should not be doing video conversion within the same > process, but executing a separate application to perform the > conversion. Even then, you may need a queueing system or otherwise > some way of restricting how many conversions can o

Re: What's the best configuration for Apache + mod_wsgi + nginx

2009-01-13 Thread lenin
On 9 ene, 19:18, Graham Dumpleton wrote: > You thus perhaps should not be doing video conversion within the same > process, but executing a separate application to perform the > conversion. Even then, you may need a queueing system or otherwise > some way of restricting how many conversions can o

Re: What's the best configuration for Apache + mod_wsgi + nginx

2009-01-09 Thread lenin
all the memory, because when I disable it everything seems normal. On 9 ene, 15:06, Graham Dumpleton wrote: > On Jan 10, 4:21 am, lenin wrote: > > > > > Hello, > > > I would like to know if you could help me solve an issue with my > > server setup. I have a Django appl

What's the best configuration for Apache + mod_wsgi + nginx

2009-01-09 Thread lenin
Hello, I would like to know if you could help me solve an issue with my server setup. I have a Django application running with mod_wsgi on apache with nginx as frontend, and it got very popular so the server gets more than 1 requests a day. The app does some video conversion with ffmpeg and m