Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

drf-blog-bridger

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drf-blog-bridger

A DRF app that provides CRUD endpoints for a blog app.

  • 1.0.3
  • PyPI
  • Socket score

Maintainers
1

DRF Blog Bridger

Introduction

DRF Blog Bridger is a simple tool that allows Django 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. You can read the full documentation on Read The Docs.

Prerequisites

  • Python 3.8 or higher
  • Pip
  • Django Rest Framework

Installation and Setup

  1. Install the package with:

    pip install drf_blog_bridger
    
  2. Include the following settings in your settings.py file:

    INSTALLED_APPS = [
    
        'blog_bridger_drf',
        'rest_framework',
    ]
    
    REST_FRAMEWORK = {
        'DEFAULT_PERMISSION_CLASSES':[
            'rest_framework.permissions.IsAuthenticatedOrReadOnly',
        ]
    }
    
  3. Include the following in your project-level urls.py file:

    path('api/posts/', include('blog_bridger_drf.urls')),
    
  4. Run python manage.py migrate to migrate the models into your database. You should read the API reference to understand how the endpoints work.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc