Metadata-Version: 2.0
Name: django-uzbplaces
Version: 0.4
Summary: UzbPlaces is a simple Django app to integrate places in Uzbekistan.
Home-page: https://github.com/MrBrownWins/uzbplaces
Author: Mukhammad Karimov
Author-email: hey@karimoff.me
License: MIT License
Keywords: sample django places development
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Dist: django-modeltranslation
Requires-Dist: django-geoposition

=====
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.


