Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Customers reviews app for monocle project

Project Description
---
### Модуль: monocle_reviews
Модуль с отзывами клиентов.
---

## **Пример отображения на сайте:**
![Reviews](/images_readme/reviews.png)

## **Пример отображения в панели администрирования:**
![Reviews](/images_readme/reviews_admin.png)

## **Файл models.py:**

from django.db import models
from filebrowser.fields import FileBrowseField

class Review(models.Model):
reviewer = models.CharField(max_length=255, verbose_name='Имя клиента')
image = models.ImageField(upload_to='reviews/%Y/%m/%d', verbose_name='Фото клиента')
text = models.TextField(verbose_name='Текст отзыва')
isShown = models.BooleanField(default=True, verbose_name='Показывать отзыв')
position = models.PositiveIntegerField(default=0, verbose_name='Порядок')

def __str__(self):
return self.reviewer

class Meta:
verbose_name_plural = u'Отзывы'
verbose_name = u'Отзыв'
ordering = ['position']

from django.apps import AppConfig
class CustomAppConfig(AppConfig):
name = 'apps.monocle_reviews'
verbose_name = 'Отзывы клиентов'
Release History

Release History

This version
History Node

0.3.0.2

History Node

0.3.0.1

History Node

0.3.0.0

History Node

0.2.0.0

History Node

0.1.10.0

History Node

0.1.9.2

History Node

0.1.9.1

History Node

0.1.9.0

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
monocle_reviews-0.3.0.2-py3-none-any.whl (145.9 kB) Copy SHA256 Checksum SHA256 3.4 Wheel May 24, 2015
monocle_reviews-0.3.0.2.tar.gz (101.6 kB) Copy SHA256 Checksum SHA256 Source May 24, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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