# MP-Poll
Django poll app.
### Installation
Install with pip:
```
$ pip install django-mp-poll
```
Add poll to settings.py:
```
INSTALLED_APPS = [
...
'poll',
]
```
Add poll to urls.py:
```
urlpatterns = [
...
url(r'^poll/', include('poll.urls', namespace='poll')),
]
```
Add static components:
```
poll/poll.css
poll/poll.js
```
Sync DB:
```
$ python manage.py migrate
$ python manage.py sync_translation_fields
```
## Template
```
{% load poll %}
<div>
{% render_latest_poll %}
</div>
```
### Requirements
App require this packages:
* django-modeltranslation
* django-ordered-model
Django poll app.
### Installation
Install with pip:
```
$ pip install django-mp-poll
```
Add poll to settings.py:
```
INSTALLED_APPS = [
...
'poll',
]
```
Add poll to urls.py:
```
urlpatterns = [
...
url(r'^poll/', include('poll.urls', namespace='poll')),
]
```
Add static components:
```
poll/poll.css
poll/poll.js
```
Sync DB:
```
$ python manage.py migrate
$ python manage.py sync_translation_fields
```
## Template
```
{% load poll %}
<div>
{% render_latest_poll %}
</div>
```
### Requirements
App require this packages:
* django-modeltranslation
* django-ordered-model
Release files for django-mp-poll 2.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-mp-poll-2.9.tar.gz | 9.5 kB | Details |
Release files / django-mp-poll-2.9.tar.gz
| Download URL | django-mp-poll-2.9.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe0df2948b1317b334dec3ffa52f99abcee6c077cc29fadcb9846e1c2bcd1473
|
|
BLAKE2b-256 checksum How to use checksums |
58f23c125e415188ae1d3669f89aecd4ec722ba8edd0faf6271f939a2fb267cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|