Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 417 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 417 Bytes

An example of how file authentication can be implemented. To log in, the user can either enter username/password or drag and drop an authentication file.

Figure

You can generate a new authentication file with the “makeauthfile” management command:

python manage.py makeauthfile [user_id] [filename]

For example:

python manage.py makeauthfile 1 key.txt