Django webmap corpus
Corpus for making web map applications.
Installation
To get the latest stable release from PyPi
pip install django-webmap-corpus
To get the latest commit from GitHub
pip install -e git+https://github.com/auto-mat/django-webmap-corpus.git#egg=webmap
Add webmap to your INSTALLED_APPS
INSTALLED_APPS = (
...,
'author',
'colorful',
'adminsortable2',
'django.contrib.gis',
'constance.backends.database',
'constance',
'import_export',
'webmap',
'rest_framework',
'easy_thumbnails',
)
Add Author middleware
MIDDLEWARE_CLASSES = (
...,
'author.middlewares.AuthorDefaultBackendMiddleware',
)
Add Constance settings
CONSTANCE_APP_NAME = "webmap"
CONSTANCE_CONFIG = {
'MAP_BASELON': (14.4211, u'zeměpisná délka základní polohy mapy'),
'MAP_BASELAT': (50.08741, u'zeměpisná délka základní polohy mapy'),
'MAP_BOUNDS': ("14.22, 49.95, 14.8, 50.18", u'hranice zobrazení mapy'),
'DEFAULT_STATUS_ID': (2, u'id defaultního statusu'),
}
CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
Add the webmap URLs to your urls.py
urlpatterns = patterns('',
...
url(r'^webmap/', include('webmap.urls')),
)
Don’t forget to migrate your database
./manage.py migrate webmap
Note: If you don’t have Constance migrated yet, remove the ‘webmap’ line from INSTALLED_APPS, then migrate Constance and then the line re-add and migrate again.
Usage
TODO: Describe usage or point to docs. Also describe available settings and templatetags.
Contribute
If you want to contribute to this project, please perform the following steps
# Fork this repository
# Clone your fork
mkvirtualenv -p python django-webmap-corpus
make develop
git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch
Metadata
Release files for django-webmap-corpus 1.0.0
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-webmap-corpus-1.0.0.tar.gz | 589.0 kB | Without provenance | Details for django-webmap-corpus-1.0.0.tar.gz |
Release files / django-webmap-corpus-1.0.0.tar.gz
| Download URL | django-webmap-corpus-1.0.0.tar.gz |
|---|---|
| Size | 589.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
468f3f73fdfdc0082a6741d67b380cee914301d2f842941721842117d675f8ed
|
|
BLAKE2b-256 checksum How to use checksums |
4081bb30e0cf8fc44ab3ffd5c05cad17750bb488dec83f75ca6774701d7950b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for django-webmap-corpus 1.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.