Re: Exception

2020-11-05 Thread Kasper Laudrup
Hi Igbinyemi, I don't use Windows, so I don't have much experience here, but: ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine seems like you have some kind of "security" software installed that's interfering with network con

Problem with group by

2020-11-05 Thread Julio Gorocica
I have some records in the database and I need to group them by the year, the problem is: if the day or month changes then django isn't grouping them. This is my queryset: classifications = ClassificationDocument.objects.filter(Q(area=request_area) and Q(classification__is_active=True)) \

Re: Exception

2020-11-05 Thread Walter Randazzo
Great! Whats is the error message? El jue., 5 nov. 2020 12:46 p. m., Igbinyemi Adeboye Amos < adeboyeam...@gmail.com> escribió: > > Please am having error > I just change my database from the default to Mysql > And its now working perfectly but once the page is loaded it throws error > on the ter

Re: Exception

2020-11-05 Thread Igbinyemi Adeboye Amos
This is the content of the error below; Exception occurred during processing of request from ('127.0.0.1', 8435) Traceback (most recent call last): File "C:\Users\Igbinyemi Adeboye\AppData\Local\Programs\Python\Python39\lib\socketserver.py", line 650, in process_request_thread self.finish_req

Re: Exception

2020-11-05 Thread Igbinyemi Adeboye Amos
Okay, thanks will post the content right now. On Thu, Nov 5, 2020 at 8:37 PM Kasper Laudrup wrote: > Hi Igbinyemi > > On 05/11/2020 16.24, Igbinyemi Adeboye Amos wrote: > > > > Please am having error > > I just change my database from the default to Mysql > > And its now working perfectly but o

Re: Exception

2020-11-05 Thread Kasper Laudrup
Hi Igbinyemi On 05/11/2020 16.24, Igbinyemi Adeboye Amos wrote: Please am having error I just change my database from the default to Mysql And its now working perfectly but once the page is loaded it throws error on the terminal. The error thrown usually contains some information indicatin

Exception

2020-11-05 Thread Igbinyemi Adeboye Amos
Please am having error I just change my database from the default to Mysql And its now working perfectly but once the page is loaded it throws error on the terminal. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gr

Re: QUIZ APP

2020-11-05 Thread RANGA BHARATH JINKA
Hi, You can refer this. All the best 👍 https://youtu.be/bHnT1apz8u8 On Thu, 5 Nov 2020, 7:36 pm jassija...@gmail.com, wrote: > hello, I'm Jaspreet singh > I'm learning Django for my College Project > > Can anyone help me with it im working on QUIZ APP > IT WOULD BE GREAT IF SOMEONE HELPS OR MENT

Re: Dropdown

2020-11-05 Thread Kasper Laudrup
Hi Shubham. On 05/11/2020 06.17, Shubham Deshpande wrote: How do you make a dropdown box in django You don't use Django for that. That's plain HTML: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select Kind regards, Kasper Laudrup -- You received this message because you are s

QUIZ APP

2020-11-05 Thread jassija...@gmail.com
hello, I'm Jaspreet singh I'm learning Django for my College Project Can anyone help me with it im working on QUIZ APP IT WOULD BE GREAT IF SOMEONE HELPS OR MENTORS ME ON THIS -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Dropdown

2020-11-05 Thread Shubham Deshpande
How do you make a dropdown box 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...@googlegroups.com. To view this discussion on th

Re: run terminal code inside project

2020-11-05 Thread David Nugent
Hint: as Andréas implied, it is always a good idea to state the problem you're trying to solve instead of posing a question about what you think the solution is. :-) Ends up saving a bunch of time. Short answer for your solution: manage.py can be run as a subprocess

Re: Django Channels

2020-11-05 Thread Damanjeet Singh
Hello, Please add console.log() in html page and check when client was connected and disconnected. I confirm chat message example works good. Regards On Wed, 4 Nov 2020, 08:55 Yeddu Prasad, wrote: > Hi all, I am trying to learn to setup a django chat using channels. I > tried the Channels tuto

Re: run terminal code inside project

2020-11-05 Thread Andréas Kühne
I would say that that's even worse? Django doesn't like changing the database when you are running. I think you need to rethink how you want to use django - because this isn't a usecase I think is even possible. What you would need to do is first create the models.py file, update the database and

Re: Newbie looking for some help with Postgres <> Django connection

2020-11-05 Thread David Nugent
On 5 Nov 2020, at 04:11, Marc Johnson mailto:marcjohnson...@gmail.com>> wrote: Hi David, Thanks again for the feedback. When I remove the 'ENGINE' variable I get the error saying settings.DATABASES is improperly configured, as shown in the snapshot attached below. But when I add the ENGINE

Re: run terminal code inside project

2020-11-05 Thread Mory Sam
hi Andréas I want to save the models generated by the ogrinspect command in a new file and be able to automatically create a table in the database using this saved model and then import my vector data automatically into the created table To. ؟Now my problem is how can I introduce the newly cr

Re: run terminal code inside project

2020-11-05 Thread Andréas Kühne
You can't do that really. What is it you want to accomplish? You can call management commands from inside django - but it doesn't really make any sense to do so. Especially the migrate command? So what is it you want to do? Then perhaps we can help you with a solution? Regards, Andréas Den o

Re: reusable App XOR custom user model?

2020-11-05 Thread Andréas Kühne
Like Ani said, There are different use cases. If you want to make a reusable app - that can be put up on pypi for example - then you shouldn't add a custom user model, but you can connect to the user model instead (this was previously recommended in django with the "UserProfile" solution). Howeve