refer to this docs:
http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#modeladmin-methods
Use
def save_model(self, ...):
mymodel.password = # put your md5 encrypted here ...
mymodel.save()
Widoyo
On Aug 21, 11:05 pm, Amitanshu <[email protected]> wrote:
> Actually I missed something in my post, writing it again :
>
> <I want that if I enter my password (through admin page of my app) it
> got entered in encrypted format (like md5) "in database".>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.