Hi there,

I find the age of a person of no particular use and well agest too; thus would like to change it to time a member of the site.

Not being jdango expect I've kind of bumbled my way through this but am concerned that I might do serious damage to my pilot site.

Could some point out the sections where I would make these changes.

Regards Thomas K

asked 30 Aug '11, 22:46

Thomas%20King's gravatar image

Thomas King
3452817
accept rate: 33%


The date when user has joined the site is stored in the date_joined field of the django.contrib.auth application User model. We rely on that application to provide local authentication mechanism. To get the user joined date-time import the User model:

from forum.models import User

And use its date_joined field.

link

answered 31 Aug '11, 08:22

Jordan's gravatar image

Jordan ♦♦
3.1k618
accept rate: 39%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×18
×17

Asked: 30 Aug '11, 22:46

Seen: 359 times

Last updated: 31 Aug '11, 08:22

powered by OSQA