ven under many seemingly-safe web server
> configurations.*
>
> Assuming 3.208.32.109 is your server IP you should add it to ALLOWED_HOSTS.
>
> piątek, 24 czerwca 2022 o 19:00:23 UTC+2 cseb...@gmail.com napisał(a):
>
>> I constantly get the errors below in my Django serve
I constantly get the errors below in my Django server logs. To try to
remove this,
I added this to my Nginx server's nginx.conf file but it didn't work
server {
listen 80 default_server;
return 444;
}
What else can I do to remove these
:17:29 PM UTC-5 Jason wrote:
> Why? what's the purpose behind this?
>
> On Monday, June 6, 2022 at 12:27:58 PM UTC-4 cseb...@gmail.com wrote:
>
>> How replace "./manage.py < some_code.py" with "./some_code.py" for
>> website scripts?
>>
>>
t; On Tue, 7 Jun 2022 at 04:17, Jason wrote:
>
>> Why? what's the purpose behind this?
>>
>> On Monday, June 6, 2022 at 12:27:58 PM UTC-4 cseb...@gmail.com wrote:
>>
>>> How replace "./manage.py < some_code.py" with "./some_code.py" for
>>
How replace "./manage.py < some_code.py" with "./some_code.py" for website
scripts?
There seem to be a number of imports needed to make the 2nd version work.
cs
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
I used some Django package called captcha but it seems
spammers can bypass it.
Is there a pretty nearly foolproof captcha people
use instead?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
our commands exactly and the second one
> does not provide any output.
>
> What shell do you have? And what version of Python and Django? And what OS?
>
> On 21/04/2022 22.28, cseb...@gmail.com wrote:
>
> Yes I agree. But why does it complain that datetime doesn't exist when I
&
tly and the second one
> does not provide any output.
>
> What shell do you have? And what version of Python and Django? And what OS?
>
> On 21/04/2022 22.28, cseb...@gmail.com wrote:
>
> Yes I agree. But why does it complain that datetime doesn't exist when I
> do
.
The problem I think has something to do with how I inject
it into the Django shell via "< test".
cs
On Thursday, April 21, 2022 at 12:18:04 PM UTC-5 larry.mart...@gmail.com
wrote:
> On Thu, Apr 21, 2022 at 1:06 PM cseb...@gmail.com
> wrote:
> >
> > Why does this
Why does this fail?...
% echo "import datetime ; [datetime for e in [1, 2]]" > test
% ./manage.py shell < test
Traceback (most recent call last):
File "./manage.py", line 8, in
django.core.management.execute_from_command_line(sys.argv)
File
How send data from client Javascript to Django server?
I tried the following but it didn't work. I want to read "token" cookie
value
and send to server but it never receives it as a valid form. Any sample
working code greatly appreciated.
function start_processing() {
I noticed a list comprehension bombs in the "./manage.py shell" shell that
I think would
be ok in normal Python shell. What is different about "./manage.py shell"
that makes it not like certain list comprehensions?
Here is the code erase that I run this way..."./manage.py shell < erase"
import
I have a simple web app (bighelp.business). I anticipate
the number of users to steadily increase.
I'm having nightmares of having to guesstimate how much
extra RAM and cores to add every week.
Furthermore, WSGI has these switches I use...
--processes=5 and --max-requests=50. I don't know
UPDATE: The Django app stays up longer without these switches but now after
about half a day the MEMORY spikes?
I'm seeing the % memory used go up to around 80% which again freezes this
Django app.
I'm enabling verbose logs now. Any idea what would cause this behavior?
cs
--
You received
One Django website was freezing about every HOUR with no indication in logs
what
the problem was. I was seeing CPU utilization spike to 100%.
I removed these switches below and it seemed to have fixed the problem.
--master
15 matches
Mail list logo