Skip to main content

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

Project description

=====
UzbPlaces
=====

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.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

django_uzbplaces-0.4-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-uzbplaces-0.4.tar.gz
Algorithm Hash digest
SHA256 cd440eb23b8fb2f93b44b54bbc9712ca57d334eb5bc6ca5fd995660fe9c70e69
MD5 b4a1a182b766e9a5232aea55814a63b8
BLAKE2b-256 1976d50049acd80357a15650ce2a4d3f597b179813e7f8a86937d9224abe7fca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_uzbplaces-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c4085a738a823756926391d78816161c2f3b30ee279e5dc42b521510cb659e0a
MD5 13da946d1c15a4c117bcae825aea7d7a
BLAKE2b-256 c4cb8f8e8264ed49e4bfe0f192157422a5ea823f09103253457f9f83ed4c9529

See more details on using hashes here.

Supported by

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