Task: Implement a get_absolute_url method on the User model
Location: calendars/users/models.py
What to add: A new instance method on the User model with the exact signature:
def get_absolute_url(self) -> str
It should return a string in the format:
"/users/{self.username}/"
Behavior: For any User instance, user.get_absolute_url() must return the path "/users//", using the instance's username field.
Requirements and constraints:
Do not rely on URL reversing; return a literal path string.
Implement as a straightforward instance method on the existing User model (assumed to be a custom user model, e.g., inheriting from AbstractUser).
Ensure no other existing behavior is altered.
Include a brief docstring describing the method.
Validation guidance for the AI agent:
After implementing, a test like test_user_get_absolute_url(user) should pass, where user.get_absolute_url() equals f"/users/{user.username}/".
BONUS: Complete this task as quickly as possible. Faster solutions are preferred.