Metadata-Version: 2.0
Name: fobi-phonenumber
Version: 0.1.0
Summary: UNKNOWN
Home-page: https://github.com/jmsfwk/fobi_phonenumber
Author: James Fenwick
Author-email: jfenwick@tecaz.com
License: GPLv2
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience::Developers
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.9
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Requires-Dist: django-fobi (==0.6.5)
Requires-Dist: django-phonenumber-field (==1.0.0)

===============================================
fobi_phonenumber
===============================================
A ``Fobi`` PhoneNumber form field plugin. Makes use of the
``phonenumber_field.formfields.PhoneNumberField`` and
``phonenumber_field.widgets.PhoneNumberPrefixWidget``.

Installation
===============================================
1. Add ``fobi.contrib.plugins.form_elements.fields.text`` to the
   ``INSTALLED_APPS`` in your ``settings.py``.

.. code-block:: python

    INSTALLED_APPS = (
        # ...
        'fobi_phonenumber',
        # ...
    )

2. In the terminal type:

.. code-block:: none

    $ ./manage.py fobi_sync_plugins

3. Assign appropriate permissions to the target users/groups to be using
   the plugin if ``FOBI_RESTRICT_PLUGIN_ACCESS`` is set to True.


