'QuerySet' object has no attribute 'year'
Request Method: GET
Request URL: http://127.0.0.1:8000/dashboard/
Django Version: 2.2.8
Exception Type: AttributeError
Exception Value:
'QuerySet' object has no attribute 'year'
models.py
joined_date = models.DateTimeField(default=now, editable=False)
views.py
date_joined = User.objects.order_by('-date_joined')
html
{{ date_joined|timesince }}