# 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
Metadata
Release files for risefor-lobbying 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| risefor_lobbying-1.1.2.tar.gz | 239.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| risefor_lobbying-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 492.8 kB
Release files / risefor_lobbying-1.1.2.tar.gz
| Download URL | risefor_lobbying-1.1.2.tar.gz |
|---|---|
| Size | 239.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03015667be4c81b5861881273e43585c863011cab3235a042fae709d112c5e25
|
|
BLAKE2b-256 checksum How to use checksums |
05572fd59389a0345bbc17a1d4df8286abfb44f6193a2f9f959fac04ba7d5387
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / risefor_lobbying-1.1.2-py3-none-any.whl
| Download URL | risefor_lobbying-1.1.2-py3-none-any.whl |
|---|---|
| Size | 253.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c078ca4e26cf6af39b6ba8a8bdaf0f199b237f95f5d43c9ebbe0468ebf0a565
|
|
BLAKE2b-256 checksum How to use checksums |
36b87034ec98dfa0d808d3f55c7615bf7e1f1f7117303c101aa006d6fe9f3cb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|