Re: How to get a variable from an ajax request and use it in another application in Django?

2021-12-01 Thread kayhan
Thank you David🙏🙏 On Wed, Dec 1, 2021 at 3:56 AM David Nugent wrote: > That is definitely much more clear. > > The usual way of doing this is to handle it like a shopping cart (plenty > of examples only a google search away). > Typically you store this information in the user's session in the fi

Re: return or not from super().method(*args, **kwargs)

2021-12-01 Thread אורי
Hi Carles, return super(...) is better. Because if the base class decides to return a value sometime in the future, you are all set. Uri. אורי u...@speedy.net On Wed, Dec 1, 2021 at 12:14 AM Carles Pina i Estany wrote: > > Hi django-users, > > I have a a question that I don't know where to se

Re: Issue in rendering of Inline forms on Django Admin site

2021-12-01 Thread Gabo LaTo
Aren't you missing the model class attribute in TestMyModelCreate? Like this: class TestMyModelCreate(admin.ModelAdmin): model = MyModel fields = ['text', ] inlines = [RelatedModelInlineTabular] El lun, 29 de nov. de 2021 a la(s) 20:28, 'Andrea Arighi' via Django users ( django-use

Re: Issue in rendering of Inline forms on Django Admin site

2021-12-01 Thread Gabo LaTo
Nope, sorry I missread El mié, 1 de dic. de 2021 a la(s) 19:05, Gabo LaTo (elgatogabr...@gmail.com) escribió: > Aren't you missing the model class attribute in TestMyModelCreate? > > Like this: > > class TestMyModelCreate(admin.ModelAdmin): > model = MyModel > fields = ['text', ] > in

Necesito orientacion de que debo hacer y como lo debo hacer(procedimiento)

2021-12-01 Thread Amor Zamora
Les comento que con la libreria PyPDF2, quiero leer 1 archivo (.pdf) que esta en una carpeta, tomar la informacion de ese archivo y enviarla a un scrpt, que se procese(ya tengo hechas las funciones del scropt, las pongoa aocntinuacion) y luego los resultados los queiro guardar en otro pdf y que

Re: Use previous requested data in the new request

2021-12-01 Thread Lalit Suthar
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 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