Skip to main content

Rest framework actions

Restframework actions is a DRF app extension to give you more control over the actions of ModelViewSet.

Quick start

  1. Add “rest_framework_actions” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'rest_framework_actions,
    ]

    Note: Please be sure to added after “rest_framework”

  2. Include the polls URLconf in your project urls.py like this:

    path('polls/', include('polls.urls')),
  3. Run python manage.py migrate to create the polls models.

  4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a poll (you’ll need the Admin app enabled).

  5. Visit http://127.0.0.1:8000/polls/ to participate in the poll.

Metadata

Release files for rest-framework-actions 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rest-framework-actions 0.1
File Size Uploaded
rest-framework-actions-0.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rest-framework-actions 0.1
File Interpreter ABI Platform
rest_framework_actions-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / rest-framework-actions-0.1.tar.gz

Download URL rest-framework-actions-0.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fc12abf47533fc7016f451d9dbbddfa28cf8089230bb259967f7536813675745
BLAKE2b-256 checksum
How to use checksums
2725c220bbdccdc249b226819b936cb8d422a1afa3760620fc56b404d7a142f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.0

Release files / rest_framework_actions-0.1-py3-none-any.whl

Download URL rest_framework_actions-0.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bc1261dbcda7b1d1a492e33d8e1ded776f5636787a952e96e169ff0029a70a1
BLAKE2b-256 checksum
How to use checksums
02bf47ca6c938f30b901a76e7cca74266c84832c1bd241a88d45f212293110e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.0

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

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