You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

drf-spirit

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drf-spirit

A pluggable django forum application build with Django Rest Framework

0.0.2
pipPyPI
Maintainers
1

DRF-Spirit

A pluggable django forum application build with Django Rest Framework inspired from Spirit.

Requirements

  • Python (2.7.x)
  • Django (1.8, 1.9, 1.10)
  • Django Rest Framework (3.5+)

Installation

Add 'drf_spirit' to your INSTALLED_APPS setting.

INSTALLED_APPS = (
    ...
    'drf_spirit',
)

Settings

Adding USER_SLUG_FIELD configuration in the settings will allow you to use user slug instead of pk for user relationship. You can do like following:

DRF_SPIRIT = {
    'USER_SLUG_FIELD': 'slug'
}

Keywords

forum

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