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.
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.3.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file django-uzbplaces-0.3.tar.gz
.
File metadata
- Download URL: django-uzbplaces-0.3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
37768c45bf8acd6ac42a4fd69ad86f1794a88abcd55dc9f9b38b07d7f048b095
|
|
MD5 |
ccda785d6dcc0e036f0e5b93ff1194ae
|
|
BLAKE2b-256 |
488445330f909572457df202d3569d5ef6023a2d155d50131b1abbdd6f3e807d
|
File details
Details for the file django_uzbplaces-0.3-py3-none-any.whl
.
File metadata
- Download URL: django_uzbplaces-0.3-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1cef6185ded78a8f56551dbe32e8a6e90ed9dbad2b9efcc4a09fc7686a5702e6
|
|
MD5 |
e044d84e9961df6b746feba91c5fcc5e
|
|
BLAKE2b-256 |
3a6b01a2c384acd38b64d254cdb2e9ec05ad646e45d19cee8624410f02a3d391
|