Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Django reviews apps

Project description

# MP-Reviews

Django reviews app.

### Installation

Install with pip:

```sh
$ pip install django-mp-reviews
```

Add reviews to settings.py:

```
INSTALLED_APPS = [
'reviews',
]
```

Add reviews to urls.py:
```
urlpatterns = [
url(r'^reviews/', include('reviews.urls', namespace='reviews')),
]
```

Add bower components:
```
BOWER_INSTALLED_APPS = (
'jquery#1.11.1',
'jquery-form',
'jquery.rateit',
)
```

Add PIPELINE settings:
```
PIPELINE = {
'STYLESHEETS': {
'generic': {
'source_filenames': (
'bower_components/jquery.rateit/scripts/rateit.css',
),
'output_filename': 'cache/generic.css',
}
},
'JAVASCRIPT': {
'generic': {
'source_filenames': (
'bower_components/jquery/dist/jquery.js',
'bower_components/jquery.rateit/scripts/jquery.rateit.js',
'bower_components/jquery-form/dist/jquery.form.min.js',
'reviews/reviews.js',
),
'output_filename': 'cache/generic.js',
}
}
}
```

Install bower components:

```
$ python manage.py bower install
```

Run migrations:

```
$ python manage.py migrate
```

Create reviews list template 'templates/reviews/index.html' for 'reviews:index' url.

### Requirements

App require this packages:

* django-pure-pagination

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-mp-reviews-2.3.tar.gz (7.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page