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


Download files

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

Source Distribution

django-geoprisma-0.0.1.tar.gz (25.8 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page