Skip to main content

A simple Django app to create and subscribe to Dynamic Risk Types.

Project description

=====
BriteCore Dynamic Risk Types
=====

This app was built in response to a test requirement
Quick start
-----------

1. Add "main" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'bcdrt',
]

2. Include the main URLconf in your project urls.py like this::

path('', include('bcdrt.urls')),

3. Run `python manage.py migrate` to create the risk models.

4. Start the development server and visit http://127.0.0.1:8000/admin/
to create a risk (you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/ to subscribe to a risk type.
5. Visit http://127.0.0.1:8000/risks/ to get a specific risktype in Json
5. Visit http://127.0.0.1:8000/risks/<risktype> to get a specific risktype in Json

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-bcdrt, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_bcdrt-0.1-py3-none-any.whl (49.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-bcdrt-0.1.tar.gz (48.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page