Skip to main content

=================== django-drf-blog-api

A reusable Django REST Framework blog and magazine API package with support for articles, magazine series editions, categories, tags, author profiles, backdated publications (pub_date), comments, likes, Social Media Auto-Posting (Facebook, Instagram, X/Twitter, LinkedIn via django-environ), and Cloudinary / MediaAsset integration.

Current Version: 0.3.0

Quick Start

  1. Installation
.. code-block:: bash

    pip install django-drf-blog-api

2. Configure ``INSTALLED_APPS``

In your Django settings.py:

.. code-block:: python

INSTALLED_APPS = [
    ...,
    'rest_framework',
    'media_library',
    'django_drf_blog_api',
    'django_ckeditor_5',
]
  1. Add URL Patterns
In your Django ``urls.py``:

.. code-block:: python

    from django.urls import path, include

    urlpatterns = [
        path('django_drf_blog_api/', include('django_drf_blog_api.urls')),
        path('media-library/', include('media_library.urls')),
    ]

4. Run Migrations
~~~~~~~~~~~~~~~~~
.. code-block:: bash

    python manage.py migrate

Key API Endpoints
-----------------

* **GET /django_drf_blog_api/post-list**: Public blog post list (ordered by ``-pub_date``).
* **GET /django_drf_blog_api/post-list/<slug>**: Retrieve blog post by slug.
* **GET/POST/PUT/DELETE /django_drf_blog_api/post**: Author post CRUD.
* **GET/POST/PUT/DELETE /django_drf_blog_api/author**: Logged-in author profile settings (``role``, ``bio``).
* **GET /django_drf_blog_api/authors**: Public list of author profiles.
* **GET /django_drf_blog_api/magazines**: List magazine series.
* **GET /django_drf_blog_api/magazines/<slug>**: Retrieve magazine series details.

Metadata

Release files for django-drf-blog-api 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-drf-blog-api 0.3.0
File Size Uploaded
django_drf_blog_api-0.3.0.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-drf-blog-api 0.3.0
File Interpreter ABI Platform
django_drf_blog_api-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.9 kB

Release files / django_drf_blog_api-0.3.0.tar.gz

Download URL django_drf_blog_api-0.3.0.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f09e037afc82e663ffb7e8c03267e48286fa051a915efb500bbece51b981ede0
BLAKE2b-256 checksum
How to use checksums
cefacd12c939c7df244816c05bcdddd47092b8898592ce0b3752acfecedc13c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / django_drf_blog_api-0.3.0-py3-none-any.whl

Download URL django_drf_blog_api-0.3.0-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0947269cc249726125f97703b844b44bd9a08031d0f6bee458d59576d8445d10
BLAKE2b-256 checksum
How to use checksums
ea1c7c77546ee8f3d93e3a4c1b5ecae2962e72df74f58120229197bdb3a7c156
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page