diff --git a/things_for_testing/models.py b/things_for_testing/models.py index dfc6317..f4485b4 100644 --- a/things_for_testing/models.py +++ b/things_for_testing/models.py @@ -14,3 +14,7 @@ class ThingUser(models.Model): 'name': self.name, } + def url_identifier(self): + return 'https://example.com/user/{}'.format( + self.name, + )