Re: Admin layout getting too bulky - what to do?

2021-05-05 Thread Derek
"I'd like to see the sidebar display links to those (currently) dumb headings and fetch them to the top." As I said, you'd need to see if it possible to update Django Suit on-the-fly. Alternately, you could look at making a model-specific template layout (e.g. https://realpython.com/customize-

Re: Admin layout getting too bulky - what to do?

2021-05-05 Thread Mike Dewhirst
On 5/05/2021 6:20 pm, Derek wrote: "I'd like to see the sidebar display links to those (currently) dumb headings and fetch them to the top." As I said, you'd need to see if it possible to update Django Suit on-the-fly. Alternately, you could look at making a model-specific template layout

Authentication using Email or Password

2021-05-05 Thread 'Muhammad Asim Khaskheli' via Django users
Hi, I have to make an application that can either accpet phone number or email address during registration. Right now, I am only handling the email part. I dont know how to make it flexible to accept phone number or email address option. Any one please help me in this user/models.py: from djan

Re: After user click on like button page should not refresh(redirect) and update count of likes

2021-05-05 Thread Derek
You'll need to use javascript for this - have a look at https://data-flair.training/blogs/ajax-in-django/ for an example. On Wednesday, 5 May 2021 at 05:30:59 UTC+2 sali...@rohteksolutions.com wrote: > When user click to like a post the web page should not refresh(redirect) > and count of the

Re: Authentication using Email or Password

2021-05-05 Thread sanosh jacob
U can use ur user model on django to authenticate user. It have a function to authenticate the user. Or u can create ur own database and validate the input with that data. Sent from my Huawei Mobile Original Message Subject: Authentication using Email or PasswordFrom: 'Muhammad Asim

Re: Hiring for frontend developer

2021-05-05 Thread makhan Kumbhkar
I am looking for part time job On Mon, May 3, 2021 at 6:37 AM Rama akki wrote: > Dear friends, > Whoever fits this job profile, you can forward your resume to > smt18m...@iiitdm.ac.in. > > On Mon, 3 May 2021, 4:22 am Alam Khazi, > wrote: > >> Hi sir. I am looking for UI developer job and I have

Re: Hiring for frontend developer

2021-05-05 Thread makhan Kumbhkar
I can conduct placement derive at college On Mon, May 3, 2021 at 6:37 AM Rama akki wrote: > Dear friends, > Whoever fits this job profile, you can forward your resume to > smt18m...@iiitdm.ac.in. > > On Mon, 3 May 2021, 4:22 am Alam Khazi, > wrote: > >> Hi sir. I am looking for UI developer job

Re: After user click on like button page should not refresh(redirect) and update count of likes

2021-05-05 Thread Aadil Rashid
You need write Ajax for this functionality to implement On Wed, 5 May, 2021, 6:40 PM Derek, wrote: > You'll need to use javascript for this - have a look at > https://data-flair.training/blogs/ajax-in-django/ for an example. > > On Wednesday, 5 May 2021 at 05:30:59 UTC+2 sali...@rohteksolutions.

How to use correctly a FormSet in django administration

2021-05-05 Thread Serge Alard
Hello I should like to do personalised validation in Django administration but I have always the same error : type object 'MainForm' has no attribute '_meta' To do so, I use the following admin.py (attached file) Thanks in advance to anybody who could me unblocked. Serge Alard -- You receive

Re: How to use correctly a FormSet in django administration

2021-05-05 Thread ramadhan ngallen
Cc cc cc cc On 5 May 2021, 17:36 +0300, Serge Alard , wrote: > Hello > > I should like to do personalised validation in Django administration but I > have always the same error : > type object 'MainForm' has no attribute '_meta' > > To do so, I use the following admin.py (attached file) > > Thanks

Re: Filtering OR-combined queries

2021-05-05 Thread Shaheed Haque
After testing with 3.2.1, I filed https://code.djangoproject.com/ticket/32717. On Tue, 4 May 2021 at 13:23, Shaheed Haque wrote: > Simon, > > Thanks for the heads up. At first glance, the release notes don't *quite* > seem to match what I see but as you suggest, I will certainly check the new >

I am getting these can u please show the solution

2021-05-05 Thread Phani Deep
Environment: Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 3.0.4 Python Version: 3.8.5 Installed Applications: ['startmusic', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.co

Re: I am getting these can u please show the solution

2021-05-05 Thread Sharif Mehedi
What seems to be the problem? On Wednesday, May 5, 2021, 10:16:33 PM GMT+6, Phani Deep wrote: Environment:Request Method: GETRequest URL: http://127.0.0.1:8000/ Django Version: 3.0.4Python Version: 3.8.5Installed Applications:['startmusic', 'django.contrib.admin', 'django.contrib.aut

Re: I am getting these can u please show the solution

2021-05-05 Thread Kasper Laudrup
This will guide you towards a solution: https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rec

Send_mail gives me a timeout error.

2021-05-05 Thread Mostapha Bouderka
Hi. I'm working on a project with django and django rest framework. In one of my views, I tried implementing a simple send_mail, but it always gives me a TimeOut error. I already configured the settings (Email backend as smtp, email host, password, ...), and also alowed my email to accept 'less s

Re: Send_mail gives me a timeout error.

2021-05-05 Thread Kasper Laudrup
Hi Mostapha, Thanks for taking your time to write a proper question with relevant details. Not really related to the issue your facing, but a lot of people could learn from that. Considering the error you're seeing: On 05/05/2021 23.53, Mostapha Bouderka wrote: > A connection attempt failed beca