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',
...
]
-
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 = '/'
-
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.0.5.tar.gz
(175.7 kB
view hashes)
Built Distribution
cm_portal-0.0.5-py3-none-any.whl
(226.7 kB
view hashes)
Close
Hashes for cm_portal-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e49ad3ac4ec067c3a6e362b79daed702de02c27beb830fba1eadf9d77d0d166e |
|
MD5 | dbdfce44193262ab65bd51845eb6883b |
|
BLAKE2b-256 | a1896f85eb0b370527a345b33580f93b0029968ff18ec3b8572dc1de75d6807a |