Re: How to save multiple model form in one template?

2018-09-08 Thread Savvey Chauhan
First Create 3 Views For each form . Second Create urls for all 3 views . THiRD CHANGE ACTION URL ACCORDING TO VIEWS URL ADD AJAX TO SUBMIT THE FORM IF YOU WANT TO DISPLAY A TOAST MESSAGE USE TOASTR ON HTML PAGE. eg : {% csrf_token %} First Name: Last

Re: I created a table view based on django that loads the whole data and is now having performance issues

2018-09-08 Thread Savvey Chauhan
if you want to increase data related performance , useselect_related or prefetch related On Sat, Sep 8, 2018 at 11:35 PM xcode101 wrote: > What do you mean by table view? More so how is data loaded? > > On Saturday, 8 September 2018 19:21:54 UTC+3, brajesh kumar wrote: >> >> I created a

Re: I created a table view based on django that loads the whole data and is now having performance issues

2018-09-08 Thread xcode101
What do you mean by table view? More so how is data loaded? On Saturday, 8 September 2018 19:21:54 UTC+3, brajesh kumar wrote: > > I created a table view based on django that loads the whole data and is > now having performance issues.. > > Any suggestion would be appreciated. > -- You

Re: django install

2018-09-08 Thread soumyajit banerjee
use anaconda navigator. then you can start play in django. https://conda.io/docs/user-guide/install/index.html On Sat, Sep 8, 2018 at 7:56 AM gonzalo rodrigo pereyra < gonzalorp12...@gmail.com> wrote: > saludos. soy nuevo en el increible mundo de la programacion, primero > comence leyendo mucho

Re: Data lost by a migration for renaming a field

2018-09-08 Thread Jason
https://docs.djangoproject.com/en/1.11/ref/migration-operations/#alterfield There are AlterField and RenameField operations available with migrations, but you probably have to include them in your custom migrations. Reason being, how would django know that you're just renaming a field and not

does django pdf documentation has all of the existing functions and classes?

2018-09-08 Thread Amirhosein Majidi
does django pdf documentation has all of the existing functions and classes and modules of django framework? I just wanted to know if I read that pdf documentation that has about 1900 pages then i learned all about the django or not. -- You received this message because you are subscribed to

What is a standard practice to drop tables of an app in Django?

2018-09-08 Thread Jae Pil Choi
I'm asking this on the official Django community after I asked on Stackoverflow because I still don't know what is the best practice for this particular action. (Original Question on Stackoverflow here

Data lost by a migration for renaming a field

2018-09-08 Thread chen
Hi, I have a model which contains a BooleanField. I changed its name to a new one and updated help text as well. django generates operations RemoveField and AddField in sequence for those changes. As a result of running this migration, original data is lost. I was confused by this behavior

I created a table view based on django that loads the whole data and is now having performance issues

2018-09-08 Thread brajesh kumar
I created a table view based on django that loads the whole data and is now having performance issues.. Any suggestion would be appreciated. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Online Judge.

2018-09-08 Thread Kasper Laudrup
Hi Razibul On 08/09/2018 13.03, Md. Razibul Hasan Mithu wrote: I want to make custom. Sometimes it will work locally without any internet. You should be able to run Matt Godbolts excellent compiler explorer locally, although that is not written in Python and I haven't tried running it

Re: Django for desktop app development

2018-09-08 Thread Jani Tiainen
Hi. Even django is a web app development framework you can use some parts if it to develop desktop apps. But as pointed out you might get much further with developing api with django and use that api in your desktop or mobile app. la 8. syysk. 2018 klo 5.27 Muhammad Dilshad Khaliq <

Re: Django for desktop app development

2018-09-08 Thread Jason
well, django is a web application, so its definitely not suitable for making a standalone desktop application that you install and run. Its meant to run on a server, handling HTTP requests and processing the data and returning a response. That doesn't run in a desktop container application

Re: Different results of running pure SQL query from Django and from PGAdmin

2018-09-08 Thread Jason
Hard to say what's happening without any code. -- 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...@googlegroups.com. To post to this

Is it possible to make form inside form

2018-09-08 Thread Md.iftequar iqbal
I an trying to make a model form which has foreign key of ohter model form. Just like any management application -- 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

Re: Online Judge.

2018-09-08 Thread Md. Razibul Hasan Mithu
I want to make custom. Sometimes it will work locally without any internet. On Thu, Sep 6, 2018 at 5:42 PM wrote: > You can use third_party api's for compiling the code, instead of spending > time on this. > > https://www.hackerearth.com/docs/wiki/developers/v3/ > > On Thursday, September 6,