=====
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.
Metadata
Release files for django-uzbplaces 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-uzbplaces-0.2.1.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_uzbplaces-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / django-uzbplaces-0.2.1.tar.gz
| Download URL | django-uzbplaces-0.2.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c7ac43a195cd8e09a0fea56d4ac1870575f9929bbf8bff59b0fe3fdbab96d50
|
|
BLAKE2b-256 checksum How to use checksums |
87802a1902dd50581a9801156d5da0c5b12907996f6804df1be6cdf73ea91ca0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_uzbplaces-0.2.1-py3-none-any.whl
| Download URL | django_uzbplaces-0.2.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c80e377d7492de96392f4d876da4b8b70d75494907045273516ff426506f5bfc
|
|
BLAKE2b-256 checksum How to use checksums |
3a8fc05d1c67ebc1c726b44cf7d8dd9f438b9829b0fc8be986485f625e6de5b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |