Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for non-integer primary key user models #216

Merged
merged 1 commit into from
Feb 18, 2021
Merged

Commits on Feb 18, 2021

  1. Add support for non-integer primary key user models

    Simplify URL and view structure. Add support for multiple PK types
    based on URL pattern as well as natural key support via URL patterns.
    
    Changes:
    
    * Deprecate `HIJACK_URL_ALLOWED_ATTRIBUTES` setting favoring `HIJACK_USER_URL_PATTERN`.
    * Deprecate URL names `login_with_id`, `login_with_username` and `login_with_email` favoring `acquire`.
    * Deprecate URL name `release_hijack` favoring `release`.
    * Deprecate views `login_with_id`, `login_with_username` and `login_with_email` favoring `release_user_view`.
    * Deprecate view `release_hijack` favoring `release_user_view`.
    
    Close #196
    Close #183
    Close #184
    Close #198
    Close #175
    
    Co-Authored-By: Alexandr Artemyev <mogost@gmail.com>
    codingjoe and Mogost committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    cc71f46 View commit details
    Browse the repository at this point in the history