Re: Pagination - Not Working

2019-02-19 Thread Godson Rapture
ure Agreement for the project in > which I am working, so totally helpless in this case. > > However I might be able to give a specific portion of what you might need > for resolving this issue. > > I am extremely sorry about this. > > On Tue, Feb 19, 2019 at 1:38 PM Godson R

Re: Pagination - Not Working

2019-02-19 Thread Godson Rapture
Can you upload your code on github let me check where your problem is? On Tue, Feb 19, 2019, 6:43 AM Siddharth Tamang wrote: > Are you trying pagination using JavaScript or Django? > > On Mon, Feb 18, 2019 at 11:47 PM Aakash Baranwal > wrote: > >> Hello Everyone, >> >> I am new to Django and wo

Re: Best Learning Resources

2019-01-16 Thread Godson Rapture
Check out the book "django for beginners " On Wed, Jan 16, 2019, 2:19 PM wrote: > Hi All, > > I'm just starting out with Django and python and wondering if anyone can > direct me to some goto learning resources. Beginner to Advanced > > Thanks > > -- > You received this message because you are s

inserting data in a DateTimeField() in Django by using datetime-local

2018-12-07 Thread Godson Rapture
Please, I am creating a to-do list app as my first django project. My form is not valid because I am trying to insert DateTimeField in django using datetime-local. I did research, I discovered I need to do a custom model so I parse the datetime-local field. Pls guide me on how to create a custom

Re: Please I need help on how to create a custom method for a model with list_display

2018-05-20 Thread Godson Rapture
performs > that query. > > i.e. On your Book model you create a method that returns the > self.authors.all() set. Then you use that method's name on the list_display > instead of authors. > > Hope it helps. > > On Saturday, May 19, 2018 at 3:54:17 PM UTC-3,

Please I need help on how to create a custom method for a model with list_display

2018-05-19 Thread Godson Rapture
Please I am learning Django 2.0.4 Right now I am learning about Django Admin. I got an error that the value of my list_display should not be a ManyToMany Field. I referred back to Django official doc and I was asked to create a custom method for my model. I tried looking for an example