Skip to main content

An app to create per-paragraph comments on content (created via Blogging App)

Project description

=====================================
PirateLearner Annotations App
=====================================

A per-paragraph commenting app that enables you to:

- Create annotations (like those in medium.com) on per-paragraph basis
- Delete annotations

This app is designed to work with the PirateLearner Blogging App, which powers the unique ID generation for each content paragraph.

**Requirements**

- `Python`_ 2.7.
- `Django`_ 1.6.x.
- `Django Rest Framework`_ 3.1.0
- `pi-blogging`_ 0.1.0b1

**Installation**

Use pip for installing the app:

`pip install pi-annotations --pre`

or download zip file from github `here`_

after installation, add rest_framework and annotations to your installed apps and also make sure that requirements are also installed -

| INSTALLED_APPS = (
| ...
| 'reversion',
| 'crispy_forms',
| 'blogging',
| 'taggit',
| 'ckeditor',
| 'django_select2',
| 'annotations',
| 'rest_framework',
| ...
| )

Also add blogging urls in your projects urls.py -

| urlpatterns = i18n_patterns('',
| ...
| url(r'^annotations/', include('annotations.urls', namespace='annotations')),
| ...
| )

after this just run ``python manage.py syncdb`` for creation of database tables.

NOTE: For setting up blogging app, refer to its `documentation`_.

**Usage**


The documentation may be found at `Read The Docs`_.

.. _Python: https://www.python.org/
.. _Django: https://www.djangoproject.com/
.. _here: https://github.com/PirateLearner/blogging/archive/master.zip
.. _`documentation`: http://blogging.readthedocs.org/en/latest/
.. _`Read The Docs`: http://annotations.readthedocs.org/en/latest/

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

pi-annotations-0.1.0.tar.gz (26.9 kB view details)

Uploaded Source

File details

Details for the file pi-annotations-0.1.0.tar.gz.

File metadata

File hashes

Hashes for pi-annotations-0.1.0.tar.gz
Algorithm Hash digest
SHA256 51a422b7989afa2fbde7f52029a5fae36fdaba3a8e7469e70cfe17c45800fcda
MD5 36b9dd6c4ff9aa4f6a559be6d84de733
BLAKE2b-256 51891865bf7638d823b479fc5c0c0a041c588a4ea8a66eb6fc326f0e110538da

See more details on using hashes here.

Supported by

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