jazzband / django-user-sessions

Extend Django sessions with a foreign key back to the user, allowing enumerating all user's sessions.
https://pypi.python.org/pypi/django-user-sessions
MIT License
628 stars 128 forks source link

Added the "UserSessionsConfig" class #182

Closed ataylor32 closed 4 months ago

ataylor32 commented 7 months ago

Description

Since the class includes verbose_name = 'User Sessions', this makes it so that the app appears in the admin as "User Sessions" instead of "User_Sessions".

Motivation and Context

Django apps' verbose names are meant to be read by humans (e.g. "Authentication and Authorization", not "Authentication_and_Authorization").

How Has This Been Tested?

I looked in the admin.

Screenshots (if appropriate):

Types of changes

Checklist:

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.69%. Comparing base (dfa4e62) to head (219bcbe).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #182 +/- ## ========================================== + Coverage 97.67% 97.69% +0.01% ========================================== Files 17 18 +1 Lines 689 694 +5 Branches 56 56 ========================================== + Hits 673 678 +5 Misses 10 10 Partials 6 6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.