Corpus for making web map applications.
Project description
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/PetrDlouhy/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',
)
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 python2.7 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-webmap-corpus-0.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 017a503758790aaa1da1c094e190109b9c86df9fc556ff7280c08ea039928489 |
|
MD5 | 7c8669fbde2d2132656ca8f7873beddd |
|
BLAKE2b-256 | 77b2a2c51c4553bbac6607a5b8d3fc53d7a00c68cbc858fd27126f34bdc5deb1 |
Hashes for django-webmap-corpus-0.7.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e7deee8b8f2fe39b2daddb46b6aa449ba9b9da5817931e34c4085ec08a2de5 |
|
MD5 | 4023f33c7092d86c5688122065505f62 |
|
BLAKE2b-256 | 68cb9c9cea3a780bd348411b7e840b507ce0df69e38990d6bdf94378565c5fe1 |