Implement strings instead of id in URLS
have urls of the form /members/pat/
instead of /members/2/
.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Sylvain Le Bon changed milestone to %Alpha v2
changed milestone to %Alpha v2
- Ghost User changed time estimate to 30m
changed time estimate to 30m
By Alexandre on 2018-08-06T22:05:38 (imported from GitLab project)
- Sylvain Le Bon assigned to @clement
assigned to @clement
- Maintainer
use
nested_fields='username'
Edited by Sylvain Le Bon - Author Contributor
@sylvain : Can you elaborate a little bit more ? What does
nested_fields
do exactly ?By Alexandre on 2018-09-27T17:25:47 (imported from GitLab project)
- Author Contributor
@clement : Regarde le fichier
urls.py
. C'est déjà fait pour d'autres URLs, tu devrais t'y retrouver.By Alexandre on 2018-10-12T13:29:29 (imported from GitLab project)
- Maintainer
lookup_field
- Maintainer
@clement any news on this?
works on each member but doesn't works on members list.
error message:
ImproperlyConfigured at /members/ Could not resolve URL for hyperlinked relationship using view name "member-detail". You may have failed to include the related model in your API, or incorrectly configured the `lookup_field` attribute on this field.
Edited by Clément- Author Contributor
- Maintainer
@clement @zenate The issue has been fixed on DjangoLDP 0.5a10.
It was caused by a username including a '.'
- Ghost User assigned to @bleme
assigned to @bleme
By Jean-Baptiste on 2018-12-12T16:33:48 (imported from GitLab project)
- Author Contributor
@sylvain Can I have the list of urls ? users/X ? members/X ?
Anything else ?
By Jean-Baptiste on 2018-12-13T10:17:49 (imported from GitLab project)
- Maintainer
I think it's mostly for users.
- Ghost User unassigned @bleme
unassigned @bleme
By Jean-Baptiste on 2019-01-29T10:09:16 (imported from GitLab project)
- Ghost User changed milestone to %Projects part I
changed milestone to %Projects part I
By Jean-Baptiste on 2019-01-29T10:10:41 (imported from GitLab project)
- Sylvain Le Bon changed the description
changed the description
- Author Contributor
I close this one as a duplicate of https://git.happy-dev.fr/startinblox/applications/sib-app/issues/204
By Alexandre on 2019-09-10T13:35:31 (imported from GitLab project)
- Ghost User closed
closed
By Alexandre on 2019-09-10T13:36:00 (imported from GitLab project)