معرفی شرکت ها


django-airports-1.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

"It's like django-cities, but django-airports"
ویژگی مقدار
سیستم عامل -
نام فایل django-airports-1.0.3
نام django-airports
نسخه کتابخانه 1.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Basil Shubin
ایمیل نویسنده basil.shubin@gmail.com
آدرس صفحه اصلی https://github.com/bashu/django-airports
آدرس اینترنتی https://pypi.org/project/django-airports/
مجوز MIT License
django-airports =============== .. image:: https://img.shields.io/pypi/v/django-airports.svg :target: https://pypi.python.org/pypi/django-airports/ .. image:: https://img.shields.io/pypi/dm/django-airports.svg :target: https://pypi.python.org/pypi/django-airports/ .. image:: https://img.shields.io/github/license/bashu/django-airports.svg :target: https://pypi.python.org/pypi/django-airports/ .. image:: https://app.travis-ci.com/bashu/django-airports.svg?branch=develop :target: https://app.travis-ci.com/bashu/django-airports Provides airports' related models and data (from `OurAirports <http://ourairports.org/>`_) that can be used in django projects, inspired by `django-cities <https://github.com/coderholic/django-cities>`_ Authored by `Basil Shubin <https://github.com/bashu>`_, and some great `contributors <https://github.com/bashu/django-airports/contributors>`_. .. image:: https://raw.githubusercontent.com/bashu/django-airports/develop/logo.png :target: https://raw.githubusercontent.com/bashu/django-airports/develop/logo.png :align: center :width: 600px Installation ------------ First install the module, preferably in a virtual environment. It can be installed from PyPI: .. code-block:: shell pip install django-airports Requirements ~~~~~~~~~~~~ You must have *django-cities* installed and configured, see the `django-cities <https://github.com/coderholic/django-cities>`_ documentation for details and setup instructions. Setup ----- First make sure the database support spatial queries, see the `GeoDjango documentation <https://docs.djangoproject.com/en/dev/ref/contrib/gis/>`_ for details and setup instructions. You'll need to add ``airports`` to ``INSTALLED_APPS`` in your projects ``settings.py`` file: .. code-block:: python INSTALLED_APPS += [ 'airports', ] Then run ``./manage.py migrate`` to create the required database tables. Import data ----------- After you have configured all settings, run .. code-block:: shell python manage.py airports The ``airports`` manage command has options, see ``airports --help`` output. Second run will update the DB with the latest data from the source csv file. Contributing ------------ If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-) License ------- ``django-airports`` is released under the MIT license. Changes ------- 1.0.3 (2021-12-22) ~~~~~~~~~~~~~~~~~~ * Fixed broken release. 1.0.2 (2021-12-22) ~~~~~~~~~~~~~~~~~~ * Include missing .mo files. 1.0.1 (2021-12-22) ~~~~~~~~~~~~~~~~~~ * Added ru translation. * Renamed city_name field to municipality, local field to local_code. 1.0.0 (2021-12-21) ~~~~~~~~~~~~~~~~~~ * Added Django 3+ support. * Dropped Python 2.7 support. * Dropped Django 1.10 / 1.11 support.


نیازمندی

مقدار نام
>=0.5 django-cities
- requests
- tox
- django
- pytest-django
- pytest
- pytest-django
- pytest-cov
- pytest


نحوه نصب


نصب پکیج whl django-airports-1.0.3:

    pip install django-airports-1.0.3.whl


نصب پکیج tar.gz django-airports-1.0.3:

    pip install django-airports-1.0.3.tar.gz