0001-Add-help-text-for-CAS-service-s-urls-and-identifier-.patch
src/authentic2_idp_cas/models.py | ||
---|---|---|
32 | 32 | |
33 | 33 | |
34 | 34 |
class Service(LogoutUrlAbstract, BaseService): |
35 |
urls = models.TextField(verbose_name=_('urls')) |
|
36 |
identifier_attribute = models.CharField(max_length=64, verbose_name=_('attribute name'), blank=False) |
|
35 |
urls = models.TextField( |
|
36 |
verbose_name=_('urls'), |
|
37 |
help_text=_( |
|
38 |
"A CAS application, when interacting with a CAS server, is identified by its service URL." |
|
39 |
" Specify here one or more service URLs used by the application, separating them with" |
|
40 |
" spaces. The service URL used by the application will match if equals or starts with one" |
|
41 |
" of the URLs specified here." |
|
42 |
) |
|
43 |
) |
|
44 |
identifier_attribute = models.CharField( |
|
45 |
max_length=64, |
|
46 |
verbose_name=_('identifier attribute name'), |
|
47 |
help_text=_('The attribute transmited as the user identifier.'), |
|
48 |
blank=False |
|
49 |
) |
|
37 | 50 |
proxy = models.ManyToManyField( |
38 | 51 |
'self', |
39 | 52 |
blank=True, |
40 |
- |