Re: How to create dynamic models in django??

2022-02-26 Thread Antonis Christofides
Short answer: I don't know. It probably isn't straightforward, but it's doable in principle. Longer answer: Django hasn't been designed with this case in mind. It's possible it's not the appropriate tool for the job (but again it might be, I don't know). In my experience you should avoid doing

How to create dynamic models in django??

2022-02-26 Thread Prashanth Patelc
How to create dynamic models in django rest framework? Is there any chance to create dynamic models with APIs Any examples please send me thanks in advance.. 1) Requirement is need create table name and fields in frontend 2) we are getting the data and store in to the db create db structure 3) g

Re: hcaptcha module implementation with django.

2022-02-26 Thread Joel Goldstick
quite a signature On Sat, Feb 26, 2022 at 5:41 PM Amor Zamora wrote: > > Guys. > Im trying to implement the hCaptcha module in my application. But I want the > invisible option to be implemented and it doesn't work for me. The question > is if anyone has an example that with the hcaptcha module

hcaptcha module implementation with django.

2022-02-26 Thread Amor Zamora
Guys. Im trying to implement the hCaptcha module in my application. But I want the invisible option to be implemented and it doesn't work for me. The question is if anyone has an example that with the hcaptcha module the images don't appear and only the user can press the "I am human" option. Send

Re: An error with my code

2022-02-26 Thread Sebastian Jung
Hey, I thinn you have in your settings.py in installed app a app named polls. Django can not found such a package polls... Now you must install this package or remove it from settings.py Regards Kin Zinzombe schrieb am Sa., 26. Feb. 2022, 16:06: > ^[[23~Traceback (most recent call last): >

Re: Login & Register

2022-02-26 Thread Antonis Christofides
Hello, A discussion about this occurred just a few days ago (less than a week) in this list. Take a look at the archives. Regards, Antonis Antonis Christofides +30-6979924665 (mobile) On 26/02/2022 17.09, Ankit Chaurasia wrote: Hey, I am new in Djnaog and I want to make Login and Register

Re: Login & Register

2022-02-26 Thread Clive Bruton
Use django-allauth package. On 26 Feb 2022, at 15:09, Ankit Chaurasia wrote: Hey, I am new in Djnaog and I want to make Login and Register Page with Email Verification. Can anone share the code ? and please gide me for the same. -- You received this message because you are subscribed to th

Login & Register

2022-02-26 Thread Ankit Chaurasia
Hey, I am new in Djnaog and I want to make Login and Register Page with Email Verification. Can anone share the code ? and please gide me for the same. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

Re: An error with my code

2022-02-26 Thread Eugene TUYIZERE
May be polls is the name of your app and you forgot to register it in settings.py Sent from my iPhone > On 26 Feb 2022, at 15:53, Kin Zinzombe wrote: > > ^[[23~Traceback (most recent call last): > File > "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line > 31, in

django download view downloading only .xls instead of file with extension on model

2022-02-26 Thread Trippy Samurai
https://stackoverflow.com/questions/71277673/django-download-view-downloading-only-xls-instead-of-file-with-extension-on-mod -- 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 a

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-26 Thread Carlos R. Pacheco F.
The solution is to use select2 with ajax El vie, 25 feb 2022 a la(s) 19:58, Jacob Greene (jacobgreene1...@gmail.com) escribió: > If you're using model choice fields, it's very likely you are making an > SQL query for each form set. It should be pretty obvio

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-26 Thread Antonis Christofides
However, caching the queryset solves only part of the problem. If you have a formset with 100 forms, and each of these forms has a choice field with 100 choices (say 50 bytes each), then you have altogether 10k choices or 500k bytes of data. While, depending on the particular case, this may be

Re: help

2022-02-26 Thread Kasper Laudrup
On 25/02/2022 21.10, loic ngounou wrote: i want the source code of an authentification with django API and FireBase https://github.com/shosenwales/django-firebase Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group.