No description
- JavaScript 74.5%
- CSS 10.5%
- SCSS 10.5%
- HTML 2.5%
- Python 1.9%
| .vscode | ||
| apps | ||
| django_hip | ||
| staticfiles | ||
| templates | ||
| .dockerignore | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| config.example.yaml | ||
| docker-compose.yml | ||
| docker-entrypoint.sh | ||
| Dockerfile | ||
| example.env | ||
| gunicorn-cfg.py | ||
| manage.py | ||
| README.md | ||
| requirements-dev.txt | ||
| requirements.txt | ||
| tmp-cfgmap.yml | ||
| unit-config.json | ||
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 |