Re: DJANGO AWS: Failed to load resource: the server resp....403 (Forbidden)

2021-02-04 Thread Benny M
> Well, still its first time I read him being sarcastic or kind of fed up.Its > hilarious 🤣. Sometimes hyperbole is the perfect solution. The smart ones realize they’re being lazy and make it a point to try some due diligence next time. It worked on me. Soon as I started figuring out my own b

Re: DJANGO AWS: Failed to load resource: the server resp....403 (Forbidden)

2021-02-04 Thread Aldian Fazrihady
Everyone, Kasper's answer contains hint. Don't get offended. Regards, Aldian Fazrihady http://aldianfazrihady.com On Fri, Feb 5, 2021, 1:16 PM Kunal Solanke wrote: > Well, still its first time I read him being sarcastic or kind of fed > up.Its hilarious 🤣. > > On Fri, Feb 5, 2021, 11:36 Benny

Re: test client vs jinja?

2021-02-04 Thread Benny M
Hi Roy, I haven’t been through this personally, but it strikes me as odd that the test can’t read the request context. On the surface it would stand to reason that if the test can’t read it, then the page wouldn’t render on browser request. Can you post an example of one of your failing tests a

Re: DJANGO AWS: Failed to load resource: the server resp....403 (Forbidden)

2021-02-04 Thread Kunal Solanke
Well, still its first time I read him being sarcastic or kind of fed up.Its hilarious 🤣. On Fri, Feb 5, 2021, 11:36 Benny M wrote: > Lightning, > I think what Kasper means to say is that there are a few reasons why AWS > isn’t authorizing your request, and the likelihood that Django is somehow >

Re: DJANGO AWS: Failed to load resource: the server resp....403 (Forbidden)

2021-02-04 Thread Benny M
Lightning, I think what Kasper means to say is that there are a few reasons why AWS isn’t authorizing your request, and the likelihood that Django is somehow involved in that error is pretty much zero. HTTP 403 means that some authorization/permission isn’t sufficient for the server to fulfill

Re: DJANGO AWS: Failed to load resource: the server resp....403 (Forbidden)

2021-02-04 Thread Kasper Laudrup
On 05/02/2021 06.05, Lightning Bit wrote: Does anyone know how to bypass the 403 error on AWS S3 with Django where the static files are not allowed to show up on the site? Ah, yes. The 403 error we all heard of. Everyone knows how to bypass that. Everyone except you. -- You received this m

DJANGO AWS: Failed to load resource: the server resp....403 (Forbidden)

2021-02-04 Thread Lightning Bit
Does anyone know how to bypass the 403 error on AWS S3 with Django where the static files are not allowed to show up on the site? -- 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,

Re: How to set daily update limit for django model(db)?

2021-02-04 Thread Shailesh Yadav
Hi Jaimikp, I have checked it but no luck. Can we make changes in the resource.py file? check the count and store that count into a variable and the next day the count value should get reset. I have checked *before_import *but not able to implement and also don't know if implementing this at res

test client vs jinja?

2021-02-04 Thread Roy Smith
I started my current project using native django templates and now I'm converting to jinja2. For the most part, it has gone smoothly. The surprising roadblock was that this broke all my unit tests. The issue is that django.template.backends.jinja2.Jinja2 doesn't populate response.context.

Re: Weird Django-admin bug

2021-02-04 Thread James Gutu
Sometimes this happens when there are issues with the html, css and javascript files of the admin. Try re-installing django or restoring the admin files. On Wed, Feb 3, 2021 at 6:56 PM 'rossm6' via Django users < django-users@googlegroups.com> wrote: > Sorry to hear this but there is absolutely n

Re: Two forms in one template

2021-02-04 Thread Sergei Sokov
Thank you so mach! четверг, 4 февраля 2021 г. в 14:13:24 UTC-1, wne...@gmail.com: > https://riptutorial.com/django/example/16667/one-view--multiple-forms > https://pylab.ru/django-dve-formy-v-odnom-view/ > > > четверг, 4 февраля 2021 г. в 16:44:54 UTC+3, soko...@gmail.com: > >> Hi, I have same

Re: Django Search Between 2 Dates

2021-02-04 Thread Siarhei Siarhei
https://otus.ru/nest/post/286/ среда, 3 февраля 2021 г. в 21:12:36 UTC+3, thiago.parolin: > If you want clien-side, then you need to make some script-fu using jquery > or anything like that. > > Em qua., 3 de fev. de 2021 às 10:40, Steven Mapes > escreveu: > >> Are you looking at client-side

Re: Two forms in one template

2021-02-04 Thread Siarhei Siarhei
https://riptutorial.com/django/example/16667/one-view--multiple-forms https://pylab.ru/django-dve-formy-v-odnom-view/ четверг, 4 февраля 2021 г. в 16:44:54 UTC+3, soko...@gmail.com: > Hi, I have same problem. > I am doing same like did you but it doesnt work. POST doesnt work. > Could you pleas

not proceed any further on runtests.py

2021-02-04 Thread Eric Ahn
Hello, $ cd django/tests $ $ ./runtests.py ... ... File "./runtests.py", line 325 in django_tests File "./runtests.py", line 593 in sss.s..s..s

Re: Two forms in one template

2021-02-04 Thread Sergei Sokov
Hi, I have same problem. I am doing same like did you but it doesnt work. POST doesnt work. Could you please hrlp me with it? среда, 6 мая 2020 г. в 12:47:00 UTC-1, adigun...@gmail.com: > You are welcome. > > I'm happy to help > -- You received this message because you are subscribed to the Go