A DRF app that provide CRUD endpoints for a blog app.
Project description
DRF Blog Bridger
Introduction
DRF Blog Bridger is a simple tool that allows Djamgo Rest Framework Developers to set up a simple blog API without worrying about the underlying code. The tool takes care of things like CRUD operations for blog posts, as well as the comment feature for each post.
Getting Started
The following instructions will help you install DRF Blog Bridger on your local system and have it running.
Prerequisites
- Python 3.10 or higher
- Pip
- Django Rest Framework
Installation and Setup
-
Install the package with:
pip install drf_blog_bridger
-
Include the following settings in your
settings.pyfile:INSTALLED_APPS = [ 'blog_bridger_drf', 'rest_framework', ] REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES':[ 'rest_framework.permissions.IsAuthenticatedOrReadOnly', ] }
-
Include the following in your project level
urls.pyfile:path('api/posts/', include('blog_bridger_drf.urls')),
-
Run
python manage.py migrateto create the models.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drf-blog-bridger-0.1.2.tar.gz.
File metadata
- Download URL: drf-blog-bridger-0.1.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
883d6aa856c2a9d46829fca2f1f9a5adb32e69965cf50c2a167735b1e8db7092
|
|
| MD5 |
3229880f43e202147db9c9af3d3144b8
|
|
| BLAKE2b-256 |
26b7e2225c0f21d75e25ee38e76d258d570d3be6de4ee62e73858a369f312945
|
File details
Details for the file drf_blog_bridger-0.1.2-py3-none-any.whl.
File metadata
- Download URL: drf_blog_bridger-0.1.2-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bf24aad21a16ac44514659129b26f59f381510278d1372e6d09b62007e32e5e
|
|
| MD5 |
f9f94bab14cfc4928f00dc4e0b64c221
|
|
| BLAKE2b-256 |
543ffb1ca2b5ec3848308e7e40bd52ef50f0b6d92fbd89dc36ecc24ef4cc577d
|