Skip to main content

django-epfl-web2018

Test Status Coverage Status PyPI version

Web2018 for Django.

Requirements

  • Python 3.8 or later
  • Django 4.2, 5.2, 6.0 or 6.1

Installation

pip install django-epfl-web2018

Documentation

Settings

Add django_epfl_web2018 to INSTALLED_APPS:

INSTALLED_APPS = [
  ...
  "django_epfl_web2018",
  ...
]

Routing

Edit your urls.py and add the following:

handler400 = "django_epfl_web2018.views.error_400"
handler403 = "django_epfl_web2018.views.error_403"
handler404 = "django_epfl_web2018.views.error_404"
handler500 = "django_epfl_web2018.views.error_500"

Base Template

File: templates/web2018/web2018.html

This is the master template for all pages. It defines the overall structure and layout.

Available Template Blocks (Override Points)

  • web2018_title → Page title.
  • web2018_extra_link → Extra tags inside <head>.
  • web2018_app_name → Application name.
  • web2018_header → Custom header content (search, user menu, language).
  • web2018_breadcrumb_container → Breadcrumb container.
  • web2018_breadcrumb → Breadcrumb items.
  • web2018_nav_main → Main navigation (mobile).
  • web2018_content → Page content.
  • web2018_pre_footer → Custom content that sits over/above the footer.
  • web2018_extra_js → Extra tags just before </body>.

Available Template Includes (Override Points)

  • footer-extra-links.html → Extra links in the footer's legal links block.

Configuration

Optional dictionary-based settings for Web2018 configuration. If the WEB2018 setting is not defined, defaults apply.

WEB2018 = {
  # Breadcrumb visibility (Default: True).
  "SHOW_BREADCRUMB": False,

  # Site title suffix appended to the page title (Default: "EPFL").
  "SITE_TITLE_SUFFIX": "My Unit",

  # Enable Google Tag Manager analytics (Default: True).
  "ENABLE_ANALYTICS": False,
}

Metadata

Release files for django-epfl-web2018 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-epfl-web2018 0.0.9
File Size Uploaded Provenance Actions
django_epfl_web2018-0.0.9.tar.gz 26.2 kB With provenance Details for django_epfl_web2018-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-epfl-web2018 0.0.9
File Interpreter ABI Platform Actions
django_epfl_web2018-0.0.9-py3-none-any.whl Python 3 none any Details for django_epfl_web2018-0.0.9-py3-none-any.whl

Total release size: 109.3 kB

Release files / django_epfl_web2018-0.0.9.tar.gz

Download URL django_epfl_web2018-0.0.9.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e68b55103709d1e46bbd6388b3c593fa2b4b58423eb8e73c0924f821e05813c9
BLAKE2b-256 checksum
How to use checksums
e7b3231572b28fa1a2b13d1a7f5f339513b1e251495a0fb52657913fbb72007f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / django_epfl_web2018-0.0.9-py3-none-any.whl

Download URL django_epfl_web2018-0.0.9-py3-none-any.whl
Size 83.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
953d1040a8bcf65d015abee3fdef0f9605f00a5fc181a08c36711436616d0f14
BLAKE2b-256 checksum
How to use checksums
d7c711bfe142baa6f2f2d7a427c8213e4bbef987b3891bfaf6c2a533d1407e5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for django-epfl-web2018 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_epfl_web2018-0.0.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page