Closed Alireza-Tabatabaeian closed 1 month ago
Hi. Can you check that wireup is correctly initialized on application startup? You need to tell it where your services are so that it knows what to build.
If Django Rest Framework supports the same application/plugin system as Django then you may be able to use the Django Integration, alternatively just follow the guide in the Getting Started Docs.
Let me know if this helps.
Hi there thanks for your response, it was all my fault, I had a folder called services where I had initiated my services inside that where I had to put them in a package rather than folder, so after adding __init__.py
file to folder everything started to work, thanks for your great package
I'm working on a django project using django rest framework
I've implemented a simple service as follows:
and then in views file:
everytime endpoint is called it throws this error:
I'm new to wireup and I'm not sure if I am doing anything inappropriately, I also changed the class to View class to check if the problem is caused by Rest Framework but same error appeared again