A Django Web App for a Nursing Home Facility
Project description
Camillus MedHaven Portal: A Django Web App for a Nursing Home Facility
Installation
- Add cm_portal and its dependency to your
INSTALLED_APPS
like this:
INSTALLED_APPS = [
...
'cm_portal.apps.CmPortalConfig',
'widget_tweaks',
'django_tables2',
...
]
-
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 = '/'
-
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')),
]
-
Run
python manage.py migrate
to create the cm_portal models. -
Start the development server and visit http://127.0.0.1:8000/ to begin using app.
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(329.0 kB
view hashes)
Built Distribution
cm_portal-0.2.1-py3-none-any.whl
(383.8 kB
view hashes)
Close
Hashes for cm_portal-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3f2f1fced39a1b9d81a4db397c67279b58d711910b74711b12ccb2434c0f647 |
|
MD5 | 17e6766c38e023517857500fed5a5be3 |
|
BLAKE2b-256 | c4735bb1b40f1a71768e026ee0fa6aff3609bfc094a94ce2f4b8b2ba142f6c5f |