Beauty Django Views Mixin
Project description
# django-beauty-view
Django collection mixin view
## Requirements
* Python (2.7.x )
* Django (1.5+ )
## Installation
Install using `pip`
```shell
pip install django-beauty-view
```
## Usage & Example
```python
# -*- coding: utf-8 -*-
from django.views import generic
...
from beauty_view.auth import PermissionRequiredMixin
class Create(PermissionRequiredMixin, generic.CreateView):
...
permission_required = 'group.can_change'
...
```
Django collection mixin view
## Requirements
* Python (2.7.x )
* Django (1.5+ )
## Installation
Install using `pip`
```shell
pip install django-beauty-view
```
## Usage & Example
```python
# -*- coding: utf-8 -*-
from django.views import generic
...
from beauty_view.auth import PermissionRequiredMixin
class Create(PermissionRequiredMixin, generic.CreateView):
...
permission_required = 'group.can_change'
...
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-beauty-view-0.0.5.tar.gz.
File metadata
- Download URL: django-beauty-view-0.0.5.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e4acedf41d03c37c0bbc228d5156e2fd73947228e847dffc433c356e56054f5
|
|
| MD5 |
4e536b26ee0b02cee583cd3753567edf
|
|
| BLAKE2b-256 |
a8e42eb8ab54e241a1314db4ae0895d8b6db90992ffec37f6778bda9ff42f8b5
|