Skip to main content

GeoPrisma is a web mapping application

Project description

This is a Django version of GeoPrisma.

Requirements

Spatial database

Installation

Install Django-geoprisma

pip install django-geoprisma

Add this to yours installed apps

INSTALLED_APPS = (
  ...
  'modeltranslation',
  'django.contrib.gis',
  'geoprisma',
  'geoprisma.acl',
)

Note If you want to use the admin integration with django-modeltranslation, modeltranslation must be put before django.contrib.admin (only applies when using Django 1.7 or above).

Specify yours languages for django-modeltranslation

gettext = lambda s: s
LANGUAGES = (
  ('en',gettext('English')),
  ...
)

Your template context processors must look like this

TEMPLATE_CONTEXT_PROCESSORS = (
    "django.contrib.auth.context_processors.auth",
    "django.core.context_processors.debug",
    "django.core.context_processors.i18n",
    "django.core.context_processors.media",
    "django.core.context_processors.static",
    "django.core.context_processors.tz",
    "django.contrib.messages.context_processors.messages",
    "django.core.context_processors.request"
)

Sync your database

python manage.py syncdb

Load initial data

python manage.py loaddata default

Now you are ready to use geoprisma.

Usage

In a future documentation.

Thanks

To do

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-geoprisma-0.0.1.tar.gz (25.8 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page