Skip to main content

risefor is a citizen mobilization and lobbying tool that aims at helping citizens communicate with their elected officials. Use these packages to deploy everything you need! More information at https://risefor.org/

Project description

# Synopsis

Risefor-Lobbying is a package for DjangoLDP that provides the models and behaviour to run a site which manages public lobbying initiatives. Allowing you to federate with other providers to achieve the maximum users for lobbying government

# Requirements

  • Python 3.6

  • Django (known to work with Django 1.11, latest version updated to Django 2.2.16)

  • DjangoLDP

  • Django Rest Framework

  • pyld

  • django-guardian

  • djangorestframework-guardian

# Installation

1. Install DjangoLDP TODO

2. Install Sib-Manager CLI TODO

3. Add as a package TODO

4. Install package TODO

## User model requirements

When implementing authentication in your own application, you have two options:

Please see the [Authentication guide](https://git.startinblox.com/djangoldp-packages/djangoldp/wikis/guides/authentication) for full information

If you’re going to use your own model then your user model must extend DjangoLDP.Model, or define a urlid field on the user model, for example: `python urlid = LDPUrlField(blank=True, null=True, unique=True) `

The urlid field is used to uniquely identify the user and is part of the Linked Data Protocol standard. For local users it can be generated at runtime, but for some resources which are from distant servers this is required to be stored

# Testing

Packaged with Risefor-Lobbying is a tests module, containing unit tests

You can extend these tests and add your own test cases by following the examples in the code. You can then run your tests with: python -m unittest tests.runner

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

risefor_lobbying-1.1.2.tar.gz (239.3 kB view hashes)

Uploaded Source

Built Distribution

risefor_lobbying-1.1.2-py3-none-any.whl (253.5 kB view hashes)

Uploaded Python 3

Supported by

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