Skip to content
babsey edited this page Feb 21, 2011 · 5 revisions

User

  • username (Character Field) -> required
  • first_name (Character Field)
  • last_name (Character Field)
  • email (Email Field) -> required
  • password (Character Field) -> required, dont store raw password, but encrypted from raw password
  • is_active (Boolean Field) -> default=False, able to login in entire closed sites
  • is_staff (Boolean Field) -> default=False, able login in admin site

this model is already implemented in Django -> DjangoBook: User

UserRegistration

  • user (OneToOne Field)
  • activation_key(Character Field)
  • key_expires (Datetime Field)

is required for activate new registered users

News

  • title (Character Field)
  • pub_date (Datetime Field)
  • content (Text Field)
Clone this wiki locally