Re: Django timing

2022-09-09 Thread Pelumi Michael
Hello thank you for the replies. The solution you mentioned is for someone using the template, the solution I am offering is just a function, I don't know if I can copy the code here for you to see and review. On Fri, Sep 9, 2022, 3:08 PM David Sanders wrote: > Hi Pelumi, > > It's kind of you to

Re: Django timing

2022-09-09 Thread Pelumi Michael
I can connect with you on GitHub for use or work on it together On Fri, Sep 9, 2022, 3:08 PM David Sanders wrote: > Hi Pelumi, > > It's kind of you to offer code, however there is a similar functionality > in contrib.humanize: > https://docs.djangoproject.com/en/4.1/ref/contrib/humanize/#natural

Django timing

2022-09-09 Thread Pelumi Michael
Hello. I was developing an instagram clone website but got a problem when I wanted to add timing to the post, timing like "2 minutes ago", "just now" etc. I searched through the internet I couldn't get the right solution (I don't know if there is solution for it yet). Then I decided to go on a