Skip to main content

Django poll app

Project description

# 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

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

django-mp-poll-2.0.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file django-mp-poll-2.0.tar.gz.

File metadata

  • Download URL: django-mp-poll-2.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-mp-poll-2.0.tar.gz
Algorithm Hash digest
SHA256 efb543d7d7d022cfae0b58f80f8003328ba3d762a81f5806d99a007d381bdbe5
MD5 d0bb31698cabb43b3f6d05db5e0f22f7
BLAKE2b-256 bd7761e0c80db53d8dcf56ce2f3c031a2a15c438afe0c4b81cbca5f4c498c91b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page