Open Galaf opened 9 years ago
I had same problem. And because of the inexperience I spent a lot of time to solve until read the source code. Problem maybe in settings, recheck django-tastypie/django-tastypie#24 (function get_resource_uri
return empty string). Helped removal namespaces for api urls. But will also work fine with NatespasedApi
and NamespacedModelResource
.
Hello,
First of all, I'm using:
django-tastypie-swagger (0.1.4) django-tastypie (0.12.1)
Up until now, I didn't have any problem with this package, and it used to work perfectly but this morning, when I fired it, I had some problems.
My resources don't have paths and as such, Swagger UI is just breaking.
Here is just a small excerpt of what is in the console:
Indeed, when I look at the resource, the path attribute is just an empty string:
I have absolutely no idea why. I configured it the same way it is shown in the documentation.
Is it Tastypie related?
Thank you for your time.