Skip to content

Error: Request failed with status code 404 #6

Description

@MehdiAria

Describe the bug
A clear and concise description of what the bug is.

Versions (please complete the following information):

  • autoDocstring Version: 0.1.3
  • Operating System: Windows 10
  • Vscode Version: 1.65.2

Original Code (with line to generate on):

class IndexView(generic.ListView):
    model = Category
    queryset = Category.objects.filter()
    template_name = 'landing/index.html'

Actual Result:

Error: Request failed with status code 404

Additional context
Upon using ai-docstring on my Django project I was getting the error Error: connect ECONNREFUSED 127.0.0.1:5000. I tried changing ai-docstring: sever endpoint to 127.0.0.1:8000.
Now I get the error 'Error: Request failed with status code 404'. Also, it seems like after using the extension, it sends a post request to the 'summery' URL which cannot be found on my running Django localserver:
'POST /summary HTTP/1.1" 404 2712'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions