django-stars / backend-skeleton

108 stars 41 forks source link

404 pages not found and help on how to #18

Open benjaminh opened 4 years ago

benjaminh commented 4 years ago

Hello, I'm trying to improve my skills with django and found your backend boilerplate. I wanted to test it, but I struggle on setting my project up. It's worth mentioning that I'm not used to this kind of complex architecture.

Following your guidelines, here is what I did:

I can access to _platform/docs/v1/swagger.json without errors. Yet, when I try to reach _platform/docs/v1/swagger or api/v1/accounts/me, I get 404 errors.

Maybe, I missed something about the guidelines or about the purposes of the skeleton ? What should I do to get things working ?

benjaminh commented 4 years ago

Looks like I missed the ending / in the path definition… So _platform/docs/v1/swagger is incorrect while _platform/docs/v1/swagger is correct. I'll look into a way to be less restrictive for such cases, or maybe a redirection.