Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 650363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:02:41+00:00 2026-05-13T22:02:41+00:00

I currently have a news website setup in PHP/MYSQL that’s a bit old and

  • 0

I currently have a news website setup in PHP/MYSQL that’s a bit old and I’m in the process of migrating it to a new django site that uses Postgresql 8.4 and Psycopg2.

Django’s admin models contain a auth_user table and I suspect this is the table I will need to insert all my user rows into.

Q#1: I should just rely on this already made table from when I syncdb with the admin, right?

It seems to be using sha1 encrypted passwords, the superadmin’s password is 51 chars long and the password field is a VARCHAR(128).

Q#2: Do I have no choice but to force the user to create a new password from their stored email address? It’s better to just keep the password column as is, since SHA1 is probably more secure than MD5 anyway.

Q#3: If I go about adding custom columns to this auth_user table for things such as aim_username, and other various user specific columns then would this messup the admin somehow? Would I need to override the default admin model somewhere?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:02:42+00:00Added an answer on May 13, 2026 at 10:02 pm

    I’m not sure what you’re asking with question 1.

    For question 2, if you want to make the transition seamless to the user, what you could do is maintain a listing of the user’s original passwords. When someone tries to login, you look up their e-mail in the original listing and check the md5 of the password they logged in with against the record you have in the database. If you have a match, remove the record from the original table and update the password record in the auth_user table by hashing the password you have from the form.

    For question 3, Django allows you the ability to specify a user profile model that can contain any extra information you want. Have a look at: http://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I have a website on my local computer that uses PHP to make
I am currently trying to cleanup a bit of a corporate website that I
Currently I am creating a news section for a website. I have created it
Currently have a drop down menu that is activated on a hover (from display:none
I currently have a XSLT 2.0 Stylesheet that I am trying to remove empty
I currently have one project that currently contains multiple packages. These packages make up
I currently have a deployed app (fortworth.herokuapp.com) that I am attempting to sort movies
I currently have a MySQL table like: id | friend 1 | 2 1
I have been given a job to re-develop a news portal. The website already
I'm currently creating a website a little bit like Digg.com. There are different category

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.