# cas_server.admin module

module for the admin interface of the app

class cas_server.admin.BaseInlines(parent_model, admin_site)

  Bases: `django.contrib.admin.TabularInline`

  Base class for inlines in the admin interface.

  extra = 0

    This controls the number of extra forms the formset will display in addition to the initial forms.

  property media

class cas_server.admin.UserAdminInlines(parent_model, admin_site)

  Bases: `BaseInlines`

  Base class for inlines in `UserAdmin` interface

  form

    The form `TicketForm` used to display tickets.

    alias of `TicketForm`

  readonly_fields = ('validate', 'service', 'service_pattern', 'creation', 'renew', 'single_log_out', 'value')

    Fields to display on a object that are read only (not editable).

  fields = ('validate', 'service', 'service_pattern', 'creation', 'renew', 'single_log_out')

    Fields to display on a object.

  property media

class cas_server.admin.ServiceTicketInline(parent_model, admin_site)

  Bases: `UserAdminInlines`

  `ServiceTicket` in admin interface

  model

    The model which the inline is using.

    alias of `ServiceTicket`

  property media

class cas_server.admin.ProxyTicketInline(parent_model, admin_site)

  Bases: `UserAdminInlines`

  `ProxyTicket` in admin interface

  model

    The model which the inline is using.

    alias of `ProxyTicket`

  property media

class cas_server.admin.ProxyGrantingInline(parent_model, admin_site)

  Bases: `UserAdminInlines`

  `ProxyGrantingTicket` in admin interface

  model

    The model which the inline is using.

    alias of `ProxyGrantingTicket`

  property media

class cas_server.admin.UserAdmin(model, admin_site)

  Bases: `django.contrib.admin.ModelAdmin`

  `User` in admin interface

  inlines = (<class 'cas_server.admin.ServiceTicketInline'>, <class 'cas_server.admin.ProxyTicketInline'>, <class 'cas_server.admin.ProxyGrantingInline'>)

    See `ServiceTicketInline`, `ProxyTicketInline`, `ProxyGrantingInline` objects below the `UserAdmin` fields.

  readonly_fields = ('username', 'date', 'session_key')

    Fields to display on a object that are read only (not editable).

  fields = ('username', 'date', 'session_key')

    Fields to display on a object.

  list_display = ('username', 'date', 'session_key')

    Fields to display on the list of class:UserAdmin objects.

  property media

class cas_server.admin.UsernamesInline(parent_model, admin_site)

  Bases: `BaseInlines`

  `Username` in admin interface

  model

    The model which the inline is using.

    alias of `Username`

  property media

class cas_server.admin.ReplaceAttributNameInline(parent_model, admin_site)

  Bases: `BaseInlines`

  `ReplaceAttributName` in admin interface

  model

    The model which the inline is using.

    alias of `ReplaceAttributName`

  property media

class cas_server.admin.ReplaceAttributValueInline(parent_model, admin_site)

  Bases: `BaseInlines`

  `ReplaceAttributValue` in admin interface

  model

    The model which the inline is using.

    alias of `ReplaceAttributValue`

  property media

class cas_server.admin.FilterAttributValueInline(parent_model, admin_site)

  Bases: `BaseInlines`

  `FilterAttributValue` in admin interface

  model

    The model which the inline is using.

    alias of `FilterAttributValue`

  property media

class cas_server.admin.ServicePatternAdmin(model, admin_site)

  Bases: `django.contrib.admin.ModelAdmin`

  `ServicePattern` in admin interface

  inlines = (<class 'cas_server.admin.UsernamesInline'>, <class 'cas_server.admin.ReplaceAttributNameInline'>, <class 'cas_server.admin.ReplaceAttributValueInline'>, <class 'cas_server.admin.FilterAttributValueInline'>)

    See `UsernamesInline`, `ReplaceAttributNameInline`, `ReplaceAttributValueInline`, `FilterAttributValueInline` objects below the `ServicePatternAdmin` fields.

  list_display = ('pos', 'name', 'pattern', 'proxy', 'single_log_out', 'proxy_callback', 'restrict_users')

    Fields to display on the list of class:ServicePatternAdmin objects.

  property media

class cas_server.admin.FederatedIendityProviderAdmin(model, admin_site)

  Bases: `django.contrib.admin.ModelAdmin`

  `FederatedIendityProvider` in admin interface

  fields = ('pos', 'suffix', 'server_url', 'cas_protocol_version', 'verbose_name', 'display')

    Fields to display on a object.

  list_display = ('verbose_name', 'suffix', 'display')

    Fields to display on the list of class:FederatedIendityProviderAdmin objects.

  property media

class cas_server.admin.FederatedUserAdmin(model, admin_site)

  Bases: `django.contrib.admin.ModelAdmin`

  `FederatedUser` in admin interface

  fields = ('username', 'provider', 'last_update')

    Fields to display on a object.

  list_display = ('username', 'provider', 'last_update')

    Fields to display on the list of class:FederatedUserAdmin objects.

  property media

class cas_server.admin.UserAttributesAdmin(model, admin_site)

  Bases: `django.contrib.admin.ModelAdmin`

  `UserAttributes` in admin interface

  fields = ('username', '_attributs')

    Fields to display on a object.

  property media