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.

Source Distribution

django-bcdrt-0.1.tar.gz (48.8 kB view hashes)

Uploaded Source

Built Distribution

django_bcdrt-0.1-py3-none-any.whl (49.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