I have an django project that i have created using django-rest framework and i also have an xml file which contains tags for both username and password. Now i want to store logged-in users username and password in that xml either automatically or throgh terminal using xml parser and save it for the latest details. please help me to come over this. thanks in advance.
Asked
Active
Viewed 51 times
0
-
1That sounds like a really bad idea. Why would you want to store passwords in an XML file? For a start, Django doesn't even store the passwords itself, just a hash. – Daniel Roseman Mar 17 '15 at 12:20
-
hmmm the thing is i need to store all the information of the logged in user in an xml,, for that i tried these two to test whether it 'l store or not – vikas Mar 17 '15 at 12:25
-
Django does not store password in plain text. You are unlikely to get unencrypted password. – Rohan Mar 17 '15 at 12:28
-
Then how i can store logged-in user credantials to xml file, is there a way to do this – vikas Mar 17 '15 at 12:33