Skip to main content

django-voice

https://travis-ci.org/gkmngrgn/django-voice.png?branch=develop

django-voice integrates user feedback with your Django project. Originally built for Verb (http://verbapp.com).

IMPORTANT: Upgrading to 0.4 from older versions

If you upgrade django-voice to 0.4 from older versions, you will take an error about database changing:

DatabaseError at /feedback/

no such column: djangovoice_feedback.email

You have two ways for fixing the problem.

If you want to use South..

Fake the first migration and run the second migration:

python manage.py migrate --fake djangovoice 0001
python manage.py migrate djangovoice

If you don’t want to use South..

Open your SQL shell and add email column to djangovoice_feedback:

python manage.py dbshell

sqlite> ALTER TABLE "djangovoice_feedback" ADD COLUMN "email" varchar(75) NULL;
sqlite> ALTER TABLE "djangovoice_feedback" ADD COLUMN "slug" varchar(10) NULL;

That’s it..

Installation and Dependencies

To satisfy dependencies listed in REQUIREMENTS you can simply run this command:

pip install -r requirements.txt

‘pip’ will automatically download and install dependencies required for django-voice. Next step is activating helper applications to run.

  • Activate django’s comment system. (https://docs.djangoproject.com/en/dev/ref/contrib/comments/)

  • Add django-gravatar (optional) and qhonuskan-votes to your INSTALLED_APPS in settings file.

  • Add comments and django-voice to your url configration.

  • Create at least one Type and Status either through the admin or fixtures.

After these steps, your INSTALLED_APPS in settings.py must be seen like this:

INSTALLED_APPS = (
    ...
    'django.contrib.comments',
    'qhonuskan_votes',
    'gravatar',  # it's optional dependency
    'djangovoice'
)

and urls.py like this:

urlpatterns = patterns(
    ...
    url(r'^comments/', include('django.contrib.comments.urls')),
    url(r'^feedback/', include('djangovoice.urls')))

Remember to create and save at least one Type and Status model instance.

That’s all you need to run django-voice.

Settings

VOICE_ALLOW_ANONYMOUS_USER_SUBMIT (default: False)
  Allow anonymous user to submit feedback. Asks for email and marks
  the feedback as private to hide the email and prevent spam.

VOICE_BRAND_VIEW (default: 'djangovoice_home')
  The view associated with clicking the brand logo in the top left
  of the bootstrap navbar.

AUTHORS

DjangoVoice was originally created by Huw Wilkins (http://huwshimi.com/)

Contributors:

Metadata

Release files for django-voice 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-voice 0.5
File Size Uploaded
django-voice-0.5.tar.gz 119.8 kB Details

Release files / django-voice-0.5.tar.gz

Download URL django-voice-0.5.tar.gz
Size 119.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b5f1a392a2e8dcffb99974c10f3fff772ab85fdb342ffb8f9c31c01bf1536b23
BLAKE2b-256 checksum
How to use checksums
57f463f80a8c11579d9e2bc5e8d06182403762227ca1fd823617dc45b63d8ee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4.1

2 release files

0.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

1 release file

0.3

1 release file

0.2

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page