Add a docstring to admin.py

This commit is contained in:
Valentin Samir 2016-07-04 20:02:00 +02:00
parent b0a07efe41
commit 624f2f48ed

View file

@ -93,6 +93,7 @@ class ServicePatternAdmin(admin.ModelAdmin):
class FederatedIendityProviderAdmin(admin.ModelAdmin): class FederatedIendityProviderAdmin(admin.ModelAdmin):
"""`FederatedIendityProvider` in admin interface"""
fields = ('pos', 'suffix', 'server_url', 'cas_protocol_version', 'verbose_name', 'display') fields = ('pos', 'suffix', 'server_url', 'cas_protocol_version', 'verbose_name', 'display')
list_display = ('verbose_name', 'suffix', 'display') list_display = ('verbose_name', 'suffix', 'display')