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.

Files for django-geoprisma, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-geoprisma-0.0.1.tar.gz (25.8 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page