Skip to main content

A feedback application for Django 1.3 or later

Project description

django-voice is a very simple application to enable user feedback that is integrated 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 use South..

Run this command:

python manage.py migrate djangovoice

If you think to use South..

Pass first migration and implement 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 -r REQUIREMENTS

‘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 unsigned user to submit feedback. Asks user e-mail and marks
  the feedback as private to prevent public spam.

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.tar.gz (108.0 kB view details)

Uploaded Source

django-voice-0.4.tar.bz2 (101.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for django-voice-0.4.tar.gz
Algorithm Hash digest
SHA256 51da342a6cfd45cd9337c77210e363f0a43b2fcb22ca97fbcff3c2ee455226c9
MD5 f13bf564dc19da1a489104fe57fb4c52
BLAKE2b-256 4b1a8f921ec87d32c19a6b4db42c2ad2671eb99853443297555436e98dc286df

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for django-voice-0.4.tar.bz2
Algorithm Hash digest
SHA256 7530202b4ad3d69ce07a50e61630e5273b36854c47c5deec89ae432df4e17855
MD5 3d0de8448a6304125c759600e23b87de
BLAKE2b-256 9ab6e82c6450a327fb28c4f46bcbbe6be0c4a3a700a79b4102c3826823f1bdc4

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