Skip to main content

A feedback application for Django 1.3 or later

Project description

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 and django-voting 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 = (
    ...
    'voting',
    'gravatar',
    '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:

Project details


Download files

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

Source Distributions

django-voice-0.4.1.tar.gz (108.2 kB view details)

Uploaded Source

django-voice-0.4.1.tar.bz2 (101.1 kB view details)

Uploaded Source

File details

Details for the file django-voice-0.4.1.tar.gz.

File metadata

  • Download URL: django-voice-0.4.1.tar.gz
  • Upload date:
  • Size: 108.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-voice-0.4.1.tar.gz
Algorithm Hash digest
SHA256 820b8ad0857509b1db263160d71bf8af0b4db42507105c19320b83ebf2b3a378
MD5 1d016d202b210fd729f3a4d8719ef74a
BLAKE2b-256 8ed648a04dc539146dbcee4621ad8494208549312028bc9ec68a963c75e9736d

See more details on using hashes here.

File details

Details for the file django-voice-0.4.1.tar.bz2.

File metadata

  • Download URL: django-voice-0.4.1.tar.bz2
  • Upload date:
  • Size: 101.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-voice-0.4.1.tar.bz2
Algorithm Hash digest
SHA256 861d0412f9af146c41f9167499a48d8da4b8a5ffcf77234790c0ce4bed864a5a
MD5 b97b52d2fb305523dfdca04565b5b8e3
BLAKE2b-256 50178b1e11b9c37aeb3697a13a136d27dd4df1408c0cdacffd6f99bcd286b823

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