Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
Django LDP
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Startin blox
  • djangoldp-packages
  • Django LDP
  • Issues
  • #176

Closed
Open
Opened Sep 16, 2019 by Benoit Alessandroni@balessan
  • Report abuse
Report abuse

Bad ID on custom LDPViewSet

When defining a custom LDPViewSet, the ID of the retrieved document is wrong.

for instance :

GET http://localhost:8000/sources/dvsd/

returns :

{
  "@id": "http://localhost:8000/sources/", 
  "@type": "ldp:Container",
  "ldp:contains": [],
  "permissions": [
    {
      "mode": {
        "@type": "view"
      }
    }
  ],
  "@context": "https://cdn.happy-dev.fr/owl/hdcontext.jsonld"
}

@id should be : http://localhost:8000/dvsd/

Edited Sep 16, 2019 by Jean-Baptiste
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
Doing
Assign labels
  • View project labels
Reference: startinblox/djangoldp-packages/djangoldp#176