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.3.tar.gz
(334.0 kB
view hashes)
Built Distribution
cm_portal-0.2.3-py3-none-any.whl
(400.5 kB
view hashes)
Close
Hashes for cm_portal-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d9655a6ec47ef2f508b4a66ed928a104113787cbf72892a7984fa50f96afd05 |
|
MD5 | f1ca3a97259e2846ab8094a1ac13b0b4 |
|
BLAKE2b-256 | c37abbe053da3f83cc90a077d819a8b32f1e968133b0fdd398cf39dc5e4ce24a |