diff --git a/help/fr/api-schema.page b/help/fr/api-schema.page index 69d770c77..ffe97a180 100644 --- a/help/fr/api-schema.page +++ b/help/fr/api-schema.page @@ -40,11 +40,13 @@ est transmis, ou à une URL /json autrement. [{"url": "https://www.example.net/inscriptions/newsletter", "title": "Newsletter", + "slug": "newsletter", "count": 17, "authentication_required": false, "category": "Inscriptions"}, {"url": "https://www.example.net/inscriptions/piscine", "title": "Piscine", + "slug": "piscine", "count": 6, "authentication_required": true, "category": "Inscriptions"} diff --git a/wcs/forms/root.py b/wcs/forms/root.py index 4753996c9..cc1a2585c 100644 --- a/wcs/forms/root.py +++ b/wcs/forms/root.py @@ -1002,6 +1002,7 @@ class RootDirectory(AccessControlled, Directory): authentication_required = True formdict = {'title': unicode(formdef.name, charset), + 'slug': formdef.url_name, 'url': formdef.get_url(), 'authentication_required': authentication_required}