diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py
index 826d47b..3edd811 100644
a
|
b
|
class User(Base, UserMixin):
|
104 | 104 | super(User, self).delete(**kwargs) |
105 | 105 | _log.info('Deleted user "{0}" account'.format(self.username)) |
106 | 106 | |
| 107 | def url_for_self(self, urlgen, **kwargs): |
| 108 | """Generate a URL for this User's home page.""" |
| 109 | |
| 110 | return urlgen( |
| 111 | 'mediagoblin.user_pages.user_home', |
| 112 | user=self.username, |
| 113 | **kwargs) |
| 114 | |
107 | 115 | |
108 | 116 | class MediaEntry(Base, MediaEntryMixin): |
109 | 117 | """ |