Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get date of registration?

How to get date of registration? What is the name of this field? I use django-registration. I don't see this in the documentation

User.objects.filter(date_of_registration_field__lt = my_date)
like image 570
amarkon Avatar asked Feb 08 '13 09:02

amarkon


1 Answers

date_joined

A datetime designating when the account was created. Is set to the current date/time by default when the account is created.

like image 57
Lev Levitsky Avatar answered Oct 19 '22 16:10

Lev Levitsky