Skip to main content

The common location package used for catalpa's projects.

Project description

## simple_locations

The common location package used for catalpa’s projects. A hierarchical tree of geographical locations supporting location type and GIS data.

## Admin

The admin site is set up to use Modeltranslations (if available in the parent app)

For modeltranslations, please remember to run sync_translation_fields in order to get name_en, name_tet etc. fields.

#### Changelog

  • Version 2.75 - add modeltranslations
  • Version 2.74 - fix CORS issue breaking maps in AreaAdmin - typo in AreaChildrenInline
  • Version 2.73 - add an inline showing children to the Area admin - make the geom field optional
  • Version 2.72 - optionally use django_extensions’ ForeignKeyAutocompleteAdmin in admin interface

##### Uploading a new version to PyPi

  • install setuptools and twine
  • Bump to a new version
  • Create a git tag for this version: git tag <version_number>
  • Push the tag to github git push origin <version_number>
  • Upload the new version to PyPi: python sdist upload

If you have pipenv: ` pipenv install `

` # bump then: pipenv run python sdist bdist_wheel pipenv run twine upload dist/* rm -rf dist/* `

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 simple-locations, version 2.76
Filename, size File type Python version Upload date Hashes
Filename, size simple_locations-2.76.tar.gz (35.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page