Skip to main content

A Django Web App for a Nursing Home Facility

Project description

Camillus MedHaven Portal: A Django Web App for a Nursing Home Facility

Installation

  1. Add cm_portal and its dependency to your INSTALLED_APPS like this:
    INSTALLED_APPS = [    
        'dal',
        'dal_select2',
        'django.contrib.admin',
        ...
        'cm_portal.apps.CmPortalConfig',
        'widget_tweaks',
        'django_tables2',
        'bootstrap_modal_forms',
    ] 
  1. Append the following environment variables to your settings.py.

    STATIC_ROOT = os.path.join(BASE_DIR, 'static')
    MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
    MEDIA_URL = '/media/'
    LOGIN_REDIRECT_URL = '/'
    LOGOUT_REDIRECT_URL = '/'
    
  2. Include the cm_portal URLconf in your project urls.py like this:

    from django.conf.urls import include
    urlpatterns += [
        path('', include('cm_portal.urls')),
    ]

    urlpatterns += [
        path('accounts/', include('django.contrib.auth.urls')),
    ]
  1. Run python manage.py migrate to create the cm_portal models.

  2. Start the development server and visit http://127.0.0.1:8000/ to begin using app.

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

cm_portal-0.2.4.tar.gz (350.2 kB view details)

Uploaded Source

Built Distribution

cm_portal-0.2.4-py3-none-any.whl (435.3 kB view details)

Uploaded Python 3

File details

Details for the file cm_portal-0.2.4.tar.gz.

File metadata

  • Download URL: cm_portal-0.2.4.tar.gz
  • Upload date:
  • Size: 350.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.6.8

File hashes

Hashes for cm_portal-0.2.4.tar.gz
Algorithm Hash digest
SHA256 443ebf63b248cb1085c75c4b3f762fc677ca7f96e1e8326810ec694bfe9ba921
MD5 36d0eab568b9f1e614a3a54fa11160e3
BLAKE2b-256 c7cbb55e8f919288b5f8144239562e7893a4c91a780c42f4b4ce0956016f13da

See more details on using hashes here.

File details

Details for the file cm_portal-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: cm_portal-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 435.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.6.8

File hashes

Hashes for cm_portal-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 768622dd054353723160b51da84840edeaa7d556a2511494857d53be2e215f62
MD5 002a4558f5f1c18beb09c3c3d4d04721
BLAKE2b-256 a230c21f9be393c3fbcb51335fc64aa6def464d02ec6e130744476df7f25a417

See more details on using hashes here.

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