1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 18:38:23 +02:00

add basic profile page

This commit is contained in:
Pierre-antoine Comby
2019-08-12 00:30:29 +02:00
parent 3cce57695d
commit a0c32890a9
5 changed files with 32 additions and 4 deletions

View File

@ -48,6 +48,8 @@ class Profile(models.Model):
verbose_name = _('user profile')
verbose_name_plural = _('user profile')
def get_absolute_url(self):
return reverse('user_detail',args=(self.pk,))
class Club(models.Model):
"""