Skip to main content

UzbPlaces is a simple Django app to integrate places in Uzbekistan.

Project description

=====
UzbPlaces
=====

[![Documentation Status](https://readthedocs.org/projects/uzbplaces/badge/?version=latest)](http://uzbplaces.readthedocs.io/en/latest/?badge=latest)


UzbPlaces is a simple Django app to integrate places in Uzbekistan. For each
province, there are regions.

Detailed documentation is in the "docs" directory.

Quick start
-----------

1. Add "uzbplaces" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'uzbplaces',
]
2. Add GEOPOSITION_GOOGLE_MAPS_API_KEY to your settings.py

3. Add following to settings.py
# Model Translation
MODELTRANSLATION_LANGUAGES = ('en', 'ru', 'uz')
MODELTRANSLATION_ADMIN_SCRIPTS = (
'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js',
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js',
'modeltranslation/js/tabbed_translation_fields.js',
)

MODELTRANSLATION_ADMIN_STYLE = {
'screen': ('modeltranslation/css/tabbed_translation_fields.css',),
}

4. Include the polls URLconf in your project urls.py like this::

url(r'^uzbplaces/', include('uzbplaces.urls')),

5. Run `python manage.py migrate` to create the polls models.

6. Start the development server and visit http://127.0.0.1:8000/admin/
(you'll need the Admin app enabled).

7. Visit http://127.0.0.1:8000/uzbplaces/ to use.

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-uzbplaces-0.5.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

django_uzbplaces-0.5-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file django-uzbplaces-0.5.tar.gz.

File metadata

File hashes

Hashes for django-uzbplaces-0.5.tar.gz
Algorithm Hash digest
SHA256 8e36c7fc3c7fb4f50bdbef60ee664d240d9e0ca707064dd0fa2286dd214350f8
MD5 e62eefc2bc0019ca232505a48a25d8ca
BLAKE2b-256 6d7304d574318395f2ee8517847df38264425915f55229acc2c27b977414c8f6

See more details on using hashes here.

File details

Details for the file django_uzbplaces-0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for django_uzbplaces-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e13ce75f6d7c51d99848b4512290e2355a160eef89cf14660392466fb955652c
MD5 4c279cfc2f2d8b32da9910d3701e09cd
BLAKE2b-256 b2b53c50bc7b1a93d825bbce8f52d408aaf9b8b993d2a4e77dd608c3c69b9d5f

See more details on using hashes here.

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