Hi,
I have set the following in settings.py for our production system:
DEBUG=False
ALLOWED_HOSTS = ['*'] (in fact any value is not working)
The server is throwing "HTTPError = 503".
There are no logs and I am clueless about the reason for the error. I tried
searching the net and looking into
Hi All,
Please find the reuirement:
1) Need to retrieve the test cases from database
2) provide an option to user to selcect the test cases which he want to run.
3) Need to send the selected test cases to target.
forms.py
class CustomCheckboxSelectMultiple(forms.CheckboxSelectMultiple):
def
Hello,
How do you run your server in production?
Where do you see the server throwing the 503 error?
Thanks,
On 12/28/2015 09:46 AM, Web Architect wrote:
Hi,
I have set the following in settings.py for our production system:
DEBUG=False
ALLOWED_HOSTS = ['*'] (in fact any value is not workin
Your server is not working, the first thing to do always is see what is
the error message:
503 Service Unavailable
The server is currently unable to handle the request due to a temporary
overloading or maintenance of the server. The implication is that this is a
temporary condition which will be
Hi,
I assume the development server is working. If that is the case it could be
that you have a problem with your production stack. I remember a situation
long time ago (like Django 1.1 or so) a project I run with apache +
mod_wsgi and we have a problem like this (I don't remember the error code)
b
Thanks for your message.
On Production, I am running the server behind Nginx. Its run using uwsgi.
The server works fine with "DEBUG=True" but when it's set to false, it
throws http 503 error. I saw it in uwsgi logs. Also, when I ran the server
locally with ./manage.py runserver, its on the con
I had run the server locally using ./manage.py runserver and it threw the
error on the console:
December 28, 2015 - 08:57:30
Django version 1.8.4, using settings 'jivaana.settings'
Starting development server at http://0.0.0.0:8600/
Quit the server with CONTROL-C.
HTTPError = 503
*[28/Dec/20
Hi,
Thanks for your response.
I had run the server using runserver and it threw the same error:
December 28, 2015 - 08:57:30
Django version 1.8.4, using settings 'jivaana.settings'
Starting development server at http://0.0.0.0:8600/
Quit the server with CONTROL-C.
HTTPError = 503
*[28/Dec/2
I have my standalone box without internet connection and having pythong
packages in a directory to install,
I used the following pip command to install the python package with the
"requirement" file
/usr/bin/pip install --no-download -r ./installer/requirements -b
./installer/SOURCES/python-mo
I have standalone box with python packages downloaded and no internet
connection. And when I tried to execute
/usr/bin/pip install --no-download -r ./installer/requirements -b
./installer/SOURCES/python-modules-sources
--install-option=--prefix=/somepath/tmp
It is hanging when "Running setup.
Thank you Russel,
you centered my problem, I asked here in case exists a solution for this
that i doesn't know.
I will write my own management script that "adapt" the dump data contained
in JSON to the particular "installation" of the web application.
thanks again for your support.
Il gior
Hello all,
I saw a really cool feature that D-link wireless cameras have. First
you physically hook up the camera to the LAN and then access the camera via
web interface. While on the web interface you can scan for your wireless
network and connect the camera, wirelessly, to your networ
Yes, though there probably isn't a slick app for the PC to do it.
You would have a web server running on the Pi, maybe Django, that displays
the available wireless networks. You would want a button to re-scan. This
works by trigering a shell command to run iwlist (or whatever the current
tool is
Solution was to use: csrfmiddlewaretoken insteed of csrftoken.
I hope that will save someones days, that run into the same issues.
Gesendet: Sonntag, 27. Dezember 2015 um 13:29 Uhr
Von: lnzy3...@gmx.de
An: django-users@googlegroups.com
Betreff: React.js with django-rest-framework using Ses
On Monday, December 28, 2015 at 11:11:13 AM UTC+5:30, Robin Lery wrote:
>
> I have a contact form through which users would be able to contact me. I
> am using django with ajax, and it works fine if there's no error. I would
> like to show the errors if there's any like it displays above the in
I have two models:
Gallery and Photo, Photo has Gallery as FK.
Is it possible to return in one call one photo per gallery?
I already tried:
photos = Photo.objects.filter(active=True)
photos.annotate(g=Count('gallery'))
unfortunately when I call query I got something like that:
GROUP BY "wall_ph
I use Aptana studio that is an eclipse fork and has pydev include also
django is well supported.
El miércoles, 23 de diciembre de 2015, Gary Roach
escribió:
> To your first question, in one word $money. I would love to use PyCharm
but I am not a commercial developer and can't see paying the freig
I guest the problem is here
questions_included = models.ForeignKey(models.QuestionAnswer)
Django models haven't QuestionAnswer.
El sábado, 26 de diciembre de 2015, Simon Charette
escribió:
> Hi Billlu,
> Does one your model use an ArrayField?
>
> Le samedi 26 décembre 2015 01:34:02 UTC-5, Billu
Thanks, I had changed it to
questions_included = models.ForeignKey('quiz.Question', null=True)
and also changed the db from Postgresql to Sqlite. Will see if this problem
again comes up.
@luisza14 - did you find out by going through the code or are there any
other ways to find out?
--
You r
19 matches
Mail list logo