Hii there,
I have an app called account in that i have one registers data that show people signups to site but at the moment of creation of site i have not added date time field but now i want that, so i’m thinking that i have datetime of that user in by default model AUTHENTICATION AND AUTHORIZATION/Users so if i add that date time field in account/registers so how can i fetch datetime of same user from AUTHENTICATION AND AUTHORIZATION/Users to account/registers??
If any one have idea about it please help!
Thankyou
@KenWhitesell Sorry you’re correct i want to fetch data date_joined from user and update it into model registers datetime field.
But as i checked that documentation
Entry.objects.filter(pub_date__year=2010).update(comments_on=False)
it says that it can turn off all the comments from publised blog of 2010. both the pub_date__year=2010 and comments_on are in same model.
how can i fetch data from date_joined of user and update it to the datetime filed in registers model of the same user??