* 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
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:
views.py:
Tried manage.py runserver and localhost:8000/blog.
Then this Error disappeard:
Hoping for some hints how to fix that problem