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, and Cloudinary / MediaAsset integration.

Current Version: 0.2.3

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.

Release files for django-drf-blog-api 0.2.3

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.2.3
File Size Uploaded
django_drf_blog_api-0.2.3.tar.gz 13.4 kB Details

Built distribution (wheel)

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

Total release size: 31.9 kB

Release files / django_drf_blog_api-0.2.3.tar.gz

Download URL django_drf_blog_api-0.2.3.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c841ee79c508e711b562a75c37df2e450949005383b01d2b378997145410459e
BLAKE2b-256 checksum
How to use checksums
68da6a8ff23d28a6cef5be0615ffd5b040ec0be9e328754728a09158eeb4af33
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.2.3-py3-none-any.whl

Download URL django_drf_blog_api-0.2.3-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c86ed5f5d721b19018aab1e3241bf66dd50d100739db1b34bef2318cb8149c70
BLAKE2b-256 checksum
How to use checksums
2078dad7bc14896c5a1e630d25dd3cdea43913f68913d318933373a769390b75
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.2.3 This release

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