This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Package Documentation

Description

This package provides decorators to make building websites in Django even easier.

Installation

$ pip install django-decorator-plus

Basic Usage

The package currently supplies decorators to improve your views.

View Decorators

The view decorators provided are meant to restrict the HTTP methods allowed on a view. The require_safe_methods limits views to GET and HEAD and generates a proper response for OPTIONS.

from decorator_plus import require_safe_methods

@require_safe_methods
def function_view_safe(request):
    ...

The package also supplies the require_form_methods decorator, which limits views to GET, HEAD, and POST. Both of these decorators are actually just shortcuts on top of the require_http_methods() decorator, which is an enhanced version of the decorator supplied by Django by the same name; the require_http_methods() decorator automatically supplies the OPTIONS HTTP method, and will automatically add the HEAD HTTP method if the GET method is allowed.

For more information and examples, please see the full Package Documentation.

Release History

Release History

0.0.1a2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1a1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_decorator_plus-0.0.1a2-py2.py3-none-any.whl (6.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Sep 4, 2015
django-decorator-plus-0.0.1a2.tar.gz (5.1 kB) Copy SHA256 Checksum SHA256 Source Sep 4, 2015
django-decorator-plus-0.0.1a2.zip (9.6 kB) Copy SHA256 Checksum SHA256 Source Sep 4, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting