0

I am porting my website from raw php to Django. I have used inspectdb to create models for the existing database. The problem that has come is that earlier I was registering the users and saving their passwords as a md5 hash md5($pass) and Django does not support this md5 version.

Is there a way I can support my legacy database of user and for new users make use of the powerful Django user model that supports user profile?

Sachin
  • 3,672
  • 9
  • 55
  • 96

1 Answers1

2

See the documentation on authentication backends and writing an authentication backend.

David Wolever
  • 148,955
  • 89
  • 346
  • 502