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:
Using or extending [DjangoLDP-Account](https://git.startinblox.com/djangoldp-packages/djangoldp-account), a DjangoLDP package modelling federated users
Using your own user model & defining the authentication behaviour yourself
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
Built Distribution
File details
Details for the file risefor_lobbying-1.1.2.tar.gz
.
File metadata
- Download URL: risefor_lobbying-1.1.2.tar.gz
- Upload date:
- Size: 239.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03015667be4c81b5861881273e43585c863011cab3235a042fae709d112c5e25 |
|
MD5 | 4e7fac218430909362e46fc8ea2f7a68 |
|
BLAKE2b-256 | 05572fd59389a0345bbc17a1d4df8286abfb44f6193a2f9f959fac04ba7d5387 |
File details
Details for the file risefor_lobbying-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: risefor_lobbying-1.1.2-py3-none-any.whl
- Upload date:
- Size: 253.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c078ca4e26cf6af39b6ba8a8bdaf0f199b237f95f5d43c9ebbe0468ebf0a565 |
|
MD5 | 4a51e24956d39b890c1374a359874d07 |
|
BLAKE2b-256 | 36b87034ec98dfa0d808d3f55c7615bf7e1f1f7117303c101aa006d6fe9f3cb3 |