This is an package mainly for in-house usage. There are a lot of admin packages used that might not work well in your environment (ex: django-rq instead of celery for background jobs). Its primary goal is to help springboard new Digital Humanities mapping projects with a decent amount of flexability.
If you cannot directly use this package, consider forking and customizing for your own usage/environment or just use it for inspiration.
Requirements
gdal,gdal-toolsfor postgis and overhead tile generationffmpegfor video resolution and thumbnail generationlibmagicfor image processingredisfor background job support- Assumes
postgresdatabase with gis (postgis)
Install
Add all the deps (including django_dh_map) to your INSTALLED_APPS
INSTALLED_APPS = [
...,
'django_dh_map',
'admin_interface',
'colorfield',
'nested_admin',
'django_jsonform',
'adminsortable2',
'solo',
'tinymce',
'admin_async_upload',
'imagekit',
'django_rq',
'django.contrib.gis',
'django.contrib.postgres',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'polymorphic',
'rest_framework',
'rest_framework_gis',
...,
]
Add the urls to your project
urlpatterns = [
...,
# django-async-upload endpoints
path('admin_async_upload/', include('admin_async_upload.urls')),
# tinymce endpoints
path('tinymce/', include('tinymce.urls')),
# django_rq admin endpoints
path('django-rq/', include('django_rq.urls')),
# django_dh_map endpoints
path('', include("django_dh_map.urls")),
...,
]
Run python manage.py migrate
Include the package javascript and css into your base.html file's head section
{% load static %}
...
<head>
...
<link rel="stylesheet" href="{% static 'django_dh_map/dist/django_dh_map.css' %}">
<script src="{% static 'django_dh_map/dist/django_dh_map.js' %}" defer></script>
...
</head>
Example Project
See example/README.md for instructions for running the example app (using Docker). Run the docker compose commands from the root directory.
Development
Build assets
# install node_modules
docker run --rm -it -v $PWD:/app/ -w /app/vite node:25.5 yarn
# build assets
docker run --rm -it -v $PWD:/app/ -w /app/vite node:25.5 yarn build
# build assets and watch for changes
docker run --rm -it -v $PWD:/app/ -w /app/vite node:25.5 yarn watch
docker run --rm -it -v $PWD:/app/ -w /app/vite node:25.5 yarn watch_dist
Metadata
Release files for django-dh-map 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_dh_map-0.3.5.tar.gz | 2.8 MB | With provenance | Details for django_dh_map-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_dh_map-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for django_dh_map-0.3.5-py3-none-any.whl |
Total release size: 5.4 MB
Release files / django_dh_map-0.3.5.tar.gz
| Download URL | django_dh_map-0.3.5.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c93afa90ed5a4614245837a4814ec2b71ea739b746ee17f321edb09ac52b16d2
|
|
BLAKE2b-256 checksum How to use checksums |
3c20d405931a56580d7010e3e80131a9f9927c550dda21be42e75537c100c327
|
| 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 Sep 10, 2026.
Transparency logRelease files / django_dh_map-0.3.5-py3-none-any.whl
| Download URL | django_dh_map-0.3.5-py3-none-any.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7749bc6f292684c79e4ce0f2a477463c0cd8fa37653d72befe51b00e7e7bde9c
|
|
BLAKE2b-256 checksum How to use checksums |
1efd5d92c412780203d136c877b32ddd1e644751d10f790f48aee4e2a91bb6fd
|
| 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 Sep 10, 2026.
Transparency logSecurity for django-dh-map 0.3.5
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for django_dh_map-0.3.5.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 Sep 10, 2026.
Transparency logA 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.