django forms exclude values from choicefield

2020-01-05 Thread Muhammad Mahir
I want to exclude those options from the ChoiceField in the forms that has been already selected and are into the database. Below is the Code. models.py SEMESTER_CHOICES = ( ("1", "1"), ("2", "2"), ("3", "3"), ("4", "4"), ("5", "5"), ("6", "6"), ("7", "7"), ("8"

django forms exclude values from choicefield that are already into database

2020-01-05 Thread Muhammad Mahir
I want to exclude those options from the ChoiceField in the forms that has been already selected and are into the database. Below is the Code. models.py ``` SEMESTER_CHOICES = ( ("1", "1"), ("2", "2"), ("3", "3"), ("4", "4"), ("5", "5"), ("6", "6"), ("7", "7"), ("8

Re: My first django website

2019-10-07 Thread Muhammad Mahir
maybe its because my username is admin1 On Mon, Oct 7, 2019 at 8:26 PM Muhammad Mahir wrote: > ok so great work and the flow. > > Have you noticed if I want to delete my post, it does not delete it but > rahter redirecting me to django admin login page. > > On Mon, Oct 7, 20

Re: My first django website

2019-10-07 Thread Muhammad Mahir
ok so great work and the flow. Have you noticed if I want to delete my post, it does not delete it but rahter redirecting me to django admin login page. On Mon, Oct 7, 2019 at 3:15 PM Ehab Al-Qabbani wrote: > Hi, > you can change your default avatar as in the attached screenshot. > > On Sun, Oc

Re: part time or full time job opportunity for Django developers

2019-01-14 Thread Muhammad Mahir
Hi there Atul, Is it fine for you if the candidate will work remotely? On Mon, Jan 14, 2019 at 12:30 PM Atul Anand wrote: > Hi All, > > I am in search for Django developer for a project. > > Interested candidate may share his/her resume with you at > atul.anand.n...@gmail.com > > > Regards, > A