LangCorrect / server

Master grammar, spelling, and syntax in the language(s) you’re learning through direct feedback on your writing from fluent, native speakers.
https://langcorrect.com
23 stars 12 forks source link

145 prompts api #528

Closed danielzeljko closed 5 months ago

danielzeljko commented 5 months ago

fixes #145

 path(
        "<str:slug>/",
        view=PromptRetrieveUpdateDestroyAPIView.as_view(),
        name="prompt-detail",
    ),

I wasn't able to figure out a way to remove the trailing slash requirement without adding this path to the router or disabling it in settings completely. So for now, a trailing slash will be required until the full switch to an API backend is complete.