Hi all, I'm working on an application where a user has an a special number assigned to them. This account number must be editable both by the user and in admin. I want the number to be obfuscated in the form when it is initially displayed but then when overwritten by a customer service rep (in admin) or a user (in the public gui) un obfuscated data is displayed.
This problem I'm working on is extremely similar to when a site only shows you the last four digits of the credit card you have on file with them and replaces the first 12 digits with *'s. Then you can enter a new credit number and it overwrite the stars and submit a new number. The key here is that I have to do this for both admin and templates. I guess what I'd really like to do is inject some sort of class that when this string is retrieved for display in a form, it displays a special string. Thanks for your ideas in advance, Jon. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---