=================== 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
- 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',
]
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| django_drf_blog_api-0.2.3.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|