No description
  • JavaScript 74.5%
  • CSS 10.5%
  • SCSS 10.5%
  • HTML 2.5%
  • Python 1.9%
Find a file
2023-12-10 16:21:53 +00:00
.vscode Added emails 2023-10-30 06:53:35 +00:00
apps Merge branch 'main' of https://git.cloudyne.net/infrastructure/django-hip 2023-12-10 15:43:56 +00:00
django_hip Updated user model 2023-11-23 15:41:46 +00:00
staticfiles Init base code 2023-05-17 12:12:50 +02:00
templates Update charts 2023-12-10 16:21:53 +00:00
.dockerignore Added code section 2023-10-05 07:16:04 +00:00
.gitignore Added emails 2023-10-30 06:53:35 +00:00
.gitlab-ci.yml Updated Dockerfile 2023-07-17 19:48:33 +00:00
config.example.yaml Added example configuration 2023-05-22 15:26:30 +02:00
docker-compose.yml Added dockerization files 2023-05-31 13:45:20 +00:00
docker-entrypoint.sh Added dockerization files 2023-05-31 13:45:20 +00:00
Dockerfile Updated Dockerfile 2023-07-17 19:47:07 +00:00
example.env Init base code 2023-05-17 12:12:50 +02:00
gunicorn-cfg.py Init base code 2023-05-17 12:12:50 +02:00
manage.py Init base code 2023-05-17 12:12:50 +02:00
README.md Renamed content block due to collision 2023-05-28 13:07:18 +02:00
requirements-dev.txt Added custom cells 2023-05-23 17:43:28 +02:00
requirements.txt Merge branch 'main' of https://git.cloudyne.net/infrastructure/django-hip 2023-12-10 15:43:56 +00:00
tmp-cfgmap.yml Updated user model 2023-11-23 15:41:46 +00:00
unit-config.json Updated user model 2023-11-23 15:41:46 +00:00

Django HIP

Django HIP (Höglandets IT Portal) was created to be a more efficient Django template for quickly starting new projects.

Installation

python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py createcachetable
python3 manage.py collectstatic
python3 manage.py createsuperuser

Attribution

Type Name Parts Used License Website Github
Python Package Django Project Base BSD 3-Clause Website Github
Python Package/CSS/JS Argon Dashboard Django (Free) Design and frontend functionality MIT Website Github
Python Package DJ Database URL Database configuration BSD 3-Clause Website Github
Python Package asgiref ASGI Server BSD 3-Clause Website Github
Python Package gunicorn Web Server - Website Github
Python Package python-decouple Settings MIT Website Github
Python Package pytz Timezone Configuration MIT Website Github
Python Package Unipath Path Handling MIT Website Github
Python Package whitenoise Static File Handling MIT Website Github
Python Package python-dotenv Configuration BSD 3-Clause Website Github
Python Package django-htmx Interactive Frontend MIT Website Github
CSS Library Website Github
CSS Library Website Github
CSS Library Website Github
Javascript Library Website Github
Javascript Library Website Github
Javascript Library Website Github

Components

PageTemplate

Base object for all pages. Contains the following attributes:

Type Name Description
String title Title of the page
Dict[str, str] canonical For breadcrumbs, format url: name
SidenavSection sidenav The side navigation panel definition, can be left empty
TopnavSection topnav The top navigation panel section, can be left empty
List[HeaderAction] header_actions [component.HeaderAction] Action buttons shown top right under the menu bar
List[Component] header_sections List of components to be shown in the header of the main page
List[Component] body_sections List of components to be shown in th eheader of the main page