mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-02-01 01:10:52 +01:00
11 lines
309 B
Python
11 lines
309 B
Python
from django.urls import reverse
|
|
from django.contrib.auth.models import AbstractUser
|
|
|
|
|
|
# using-a-custom-user-model-when-starting-a-project
|
|
# https://docs.djangoproject.com/en/4.2/topics/auth/customizing/
|
|
class User(AbstractUser):
|
|
|
|
def get_absolute_url(self):
|
|
return reverse('account:show_profile')
|