django-wordpress
django-wordpress copied to clipboard
WordPress models and views for Django.
Fixes the following issues: * missing `on_delete` parameters in `ForeignKey` fields; * replaces removed `@models.permalink` decorator. Tested with Django 3.0
There is a small typo in wordpress/views.py. Should read `compatibility` rather than `compatibilty`.
Not sure if this project is still alive (ping @jcarbaugh ?) but it's currently incompatible with Django >= 2.0. First problem I've run across is the `ForeignKey`s lacking explicit `on_delete`...
This PR fixes one incompatibility w/ mainline django. https://docs.djangoproject.com/en/1.11/releases/1.11/#models-permalink-decorator states to replace deprecated `permalink` decorator and replace w/ a `return reverse(...)` --timball