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 details)

Uploaded Source

Built Distribution

django_bcdrt-0.1-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file django-bcdrt-0.1.tar.gz.

File metadata

  • Download URL: django-bcdrt-0.1.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for django-bcdrt-0.1.tar.gz
Algorithm Hash digest
SHA256 f4cda27d8724843285463ec0ffe9aaa0b5d054784fcf20e7334759c765709651
MD5 8f49f7f7501d10c490d5be79983f6b82
BLAKE2b-256 ecf2869dbcd58a75efaf471bb453d55e2c5d69f0b24eeaf08ac47d838da8e34e

See more details on using hashes here.

File details

Details for the file django_bcdrt-0.1-py3-none-any.whl.

File metadata

  • Download URL: django_bcdrt-0.1-py3-none-any.whl
  • Upload date:
  • Size: 49.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for django_bcdrt-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f08c6b32e1adc7260464772c57e9c3b3a9c5427c4578940f89e70c768b5208c
MD5 471c2e07f52e5331aae17527ad8bc981
BLAKE2b-256 0c797a22fa8a64d96c33105296a466f9c18d9502efb205c76995e4d8e81974d8

See more details on using hashes here.

Supported by

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