Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

JSONDecodError at /blog/ #7

Description

@hybridpicker
  • Django Wordpress API version: 0.2.0
  • Python version: 3

Trying to integrate Wordpress blog into a Django Project.
Set it up like its described in the Django Wordpress API:

First, I checked if WP Rest API isn't disabled.

Then I added these lines after pip install django-wordpress-api-plugin:

settings.py:

 INSTALLED_APPS += ('wordpress_api',)

 WP_URL = 'https://wordpress-site.com/blog'

views.py:

 import wordpress_api
 
 re_path(r'^blog/', include('wordpress_api.urls')),

Tried manage.py runserver and localhost:8000/blog.

Then this Error disappeard:

  JSONDecodeError at /blog/
  Expecting value: line 1 column 1 (char 0)
  Request Method:	GET
  Request URL:	http://localhost:8000/blog/

Hoping for some hints how to fix that problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions