core: add is_link and get_url property to base Source

This commit is contained in:
Jens Langhammer
2018-12-18 13:24:58 +01:00
parent f6c5f10d65
commit b0fa302718
3 changed files with 24 additions and 0 deletions

View File

@ -28,6 +28,10 @@ class LDAPSource(Source):
form = 'passbook.ldap.forms.LDAPSourceForm'
@property
def get_url(self):
raise NotImplementedError()
class Meta:
verbose_name = _('LDAP Source')