How to get a variable from an ajax request and use it in another
application in Django?
--
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, send an email
to django-users+unsubscr...
Hi, I am using the free version of Paycharm.
VS code is also good and is smaller than Paycharm.
On Mon, Nov 29, 2021 at 4:53 PM 'MH' via Django users <
django-users@googlegroups.com> wrote:
> Hi everyone
>
> I have built a few django apps, but on a very basic level and only for my
> own usage. Li
Hi
How to first send some data with an Ajax request to Django view and then
with a post request, send the form information to the same view and use the
data sent in the previous request (Ajax request) in the second request ?
def planing(request):
if request.is_ajax():
#
ot;use it in another application" is a
> little vague. The backend the API request and can pretty much do anything
> you need in the corresponding view at that point but should endeavour to
> return an appropriate response ASAP.
>
> On Tue, Nov 30, 2021 at 12:35 AM kayhan
x request in any case, for clarity and
> maintainability. The response data would usually use a different format
> (json vs text/html).
>
> Regards, David
>
> On Wed, Dec 1, 2021 at 6:04 AM kayhan wrote:
>
>> Sorry I did not ask the question well.
>> Question:
>
information that was previously submitted for processing.
On Thu, Dec 2, 2021 at 10:09 AM Lalit Suthar
wrote:
> why can't we make a post request directly
>
> On Wed, 1 Dec 2021 at 00:24, kayhan wrote:
>
>> Hi
>> How to first send some data with an Ajax request to Django
Hi
I first send a request to Django and save its data with a session.
I will send another request to Django later. Here I want to use the data of
the previous request.
But my code does not work properly. And the value "None" appears in the
output.
Does anyone know what I should do?
Thankful
def
nt("latitude, longitude = ",
latitude,longitude) Output: latitude, longitude = 34.801595 48.499574
latitude, longitude = 34.801595 48.499574 latitude, longitude = None None
On Wed, Dec 1, 2021 at 6:37 PM kayhan wrote:
> Thank you David🙏🙏
>
> On Wed, Dec 1, 2021 at 3:56 AM David Nuge
ck if you have modified `SESSION_COOKIE_AGE` (
> https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-SESSION_COOKIE_AGE
> )
> if it is too less that might be the reason.
>
> On Fri, 3 Dec 2021 at 16:15, kayhan wrote:
>
>> Hi
>> I first send a request to Django
Thankyou 🙏
On Sat, Dec 4, 2021 at 11:33 AM Lalit Suthar
wrote:
> tried to look into the docs but couldn't find a reason.
> you can go through this page to find out any possible reason
> https://docs.djangoproject.com/en/dev/topics/http/sessions/
>
> On Fri, 3 Dec 2021 at
Okay, thank you. I really like open source technologies
On Tue, Dec 7, 2021 at 8:00 PM Noel Simela wrote:
> Great stuff,
>
> On Tue, Dec 7, 2021 at 11:28 AM Mariusz Felisiak <
> felisiak.mari...@gmail.com> wrote:
>
>> Details are available on the Django project weblog:
>>
>> https://www.djangopr
Okay, thank you. I really like open source technologies
On Tue, Dec 7, 2021 at 11:12 AM Mariusz Felisiak
wrote:
> Details are available on the Django project weblog:
>
> https://www.djangoproject.com/weblog/2021/dec/07/security-releases/
>
> --
> You received this message because you are subscri
12 matches
Mail list logo