=============================
Nobinobi Child
=============================
.. image:: https://badge.fury.io/py/nobinobi-child.svg
:target: https://badge.fury.io/py/nobinobi-child
.. image:: https://travis-ci.org/prolibre-ch/nobinobi-child.svg?branch=master
:target: https://travis-ci.org/prolibre-ch/nobinobi-child
.. image:: https://codecov.io/gh/prolibre-ch/nobinobi-child/branch/master/graph/badge.svg
:target: https://codecov.io/gh/prolibre-ch/nobinobi-child
.. image:: https://pyup.io/repos/github/prolibre-ch/nobinobi-child/shield.svg
:target: https://pyup.io/repos/github/prolibre-ch/nobinobi-child/
:alt: Updates
.. image:: https://pyup.io/repos/github/prolibre-ch/nobinobi-child/python-3-shield.svg
:target: https://pyup.io/repos/github/prolibre-ch/nobinobi-child/
:alt: Python 3
Application Child for Nobinobi
Documentation
-------------
The full documentation is at https://nobinobi-child.readthedocs.io.
Quickstart
----------
Install Nobinobi Child::
pip install nobinobi-child
Add it to your `settings.py`:
.. code-block:: python
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
),
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',
'rest_framework.renderers.BrowsableAPIRenderer',
'rest_framework_datatables.renderers.DatatablesRenderer',
),
'DEFAULT_FILTER_BACKENDS': (
'rest_framework_datatables.filters.DatatablesFilterBackend',
),
'DEFAULT_PAGINATION_CLASS': 'rest_framework_datatables.pagination.DatatablesPageNumberPagination',
'PAGE_SIZE': 50,
}
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'phonenumber_field',
'crispy_forms',
'django_extensions',
'rest_framework',
'rest_framework.authtoken',
'rest_framework_datatables',
'menu',
'bootstrap_modal_forms',
'widget_tweaks',
'django_select2',
'bootstrap_datepicker_plus',
'nobinobi_core',
'nobinobi_staff',
'nobinobi_child.apps.NobinobiChildConfig',
...
)
Add Nobinobi Child's URL patterns:
.. code-block:: python
from nobinobi_core import urls as nobinobi_core_urls
from nobinobi_staff import urls as nobinobi_staff_urls
from nobinobi_child import urls as nobinobi_child_urls
urlpatterns = [
...
path('', include(nobinobi_core_urls)),
path('', include(nobinobi_staff_urls)),
path('', include(nobinobi_child_urls)),
path('select2/', include('django_select2.urls')),
...
]
Features
--------
* TODO
Running Tests
-------------
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Development commands
---------------------
::
pip install -r requirements_dev.txt
invoke -l
Credits
-------
Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
Raw data
{
"_id": null,
"home_page": "https://github.com/prolibre-ch/nobinobi-child",
"name": "nobinobi-child",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0.0,>=3.7.0",
"maintainer_email": null,
"keywords": "nobinobi-child",
"author": "Florian Alu",
"author_email": "fla@grapps.fr",
"download_url": "https://files.pythonhosted.org/packages/e0/15/eac87820caad0d60ccbac4aa39dab32ac0f94494d9795e00cf2e55f4bfb3/nobinobi_child-0.1.4.28.tar.gz",
"platform": null,
"description": "=============================\nNobinobi Child\n=============================\n\n.. image:: https://badge.fury.io/py/nobinobi-child.svg\n :target: https://badge.fury.io/py/nobinobi-child\n\n.. image:: https://travis-ci.org/prolibre-ch/nobinobi-child.svg?branch=master\n :target: https://travis-ci.org/prolibre-ch/nobinobi-child\n\n.. image:: https://codecov.io/gh/prolibre-ch/nobinobi-child/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/prolibre-ch/nobinobi-child\n\n.. image:: https://pyup.io/repos/github/prolibre-ch/nobinobi-child/shield.svg\n :target: https://pyup.io/repos/github/prolibre-ch/nobinobi-child/\n :alt: Updates\n\n.. image:: https://pyup.io/repos/github/prolibre-ch/nobinobi-child/python-3-shield.svg\n :target: https://pyup.io/repos/github/prolibre-ch/nobinobi-child/\n :alt: Python 3\n\nApplication Child for Nobinobi\n\nDocumentation\n-------------\n\nThe full documentation is at https://nobinobi-child.readthedocs.io.\n\nQuickstart\n----------\n\nInstall Nobinobi Child::\n\n pip install nobinobi-child\n\nAdd it to your `settings.py`:\n\n.. code-block:: python\n\n REST_FRAMEWORK = {\n 'DEFAULT_AUTHENTICATION_CLASSES': (\n 'rest_framework.authentication.BasicAuthentication',\n 'rest_framework.authentication.SessionAuthentication',\n 'rest_framework.authentication.TokenAuthentication',\n ),\n 'DEFAULT_RENDERER_CLASSES': (\n 'rest_framework.renderers.JSONRenderer',\n 'rest_framework.renderers.BrowsableAPIRenderer',\n 'rest_framework_datatables.renderers.DatatablesRenderer',\n ),\n 'DEFAULT_FILTER_BACKENDS': (\n 'rest_framework_datatables.filters.DatatablesFilterBackend',\n ),\n 'DEFAULT_PAGINATION_CLASS': 'rest_framework_datatables.pagination.DatatablesPageNumberPagination',\n 'PAGE_SIZE': 50,\n }\n\nAdd it to your `INSTALLED_APPS`:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'phonenumber_field',\n 'crispy_forms',\n 'django_extensions',\n 'rest_framework',\n 'rest_framework.authtoken',\n 'rest_framework_datatables',\n 'menu',\n 'bootstrap_modal_forms',\n 'widget_tweaks',\n 'django_select2',\n 'bootstrap_datepicker_plus',\n 'nobinobi_core',\n 'nobinobi_staff',\n 'nobinobi_child.apps.NobinobiChildConfig',\n ...\n )\n\nAdd Nobinobi Child's URL patterns:\n\n.. code-block:: python\n\n from nobinobi_core import urls as nobinobi_core_urls\n from nobinobi_staff import urls as nobinobi_staff_urls\n from nobinobi_child import urls as nobinobi_child_urls\n\n\n urlpatterns = [\n ...\n path('', include(nobinobi_core_urls)),\n path('', include(nobinobi_staff_urls)),\n path('', include(nobinobi_child_urls)),\n path('select2/', include('django_select2.urls')),\n ...\n ]\n\nFeatures\n--------\n\n* TODO\n\nRunning Tests\n-------------\n\nDoes the code actually work?\n\n::\n\n source <YOURVIRTUALENV>/bin/activate\n (myenv) $ pip install tox\n (myenv) $ tox\n\n\nDevelopment commands\n---------------------\n\n::\n\n pip install -r requirements_dev.txt\n invoke -l\n\n\nCredits\n-------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n",
"bugtrack_url": null,
"license": "AGPL-3.0-or-later",
"summary": null,
"version": "0.1.4.28",
"project_urls": {
"Documentation": "https://nobinobi-child.readthedocs.io",
"Homepage": "https://github.com/prolibre-ch/nobinobi-child",
"Repository": "https://github.com/prolibre-ch/nobinobi-child"
},
"split_keywords": [
"nobinobi-child"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "492de05e1b9ca452fe235a9a881f427bdadabc102c2b6023fa2720d74dc6bf5a",
"md5": "237d48a09d29a2e48adafda40aef7744",
"sha256": "b81e23fd2f5659283f1ddfbcd9faad49530a99513a87d958b265fc911403ec4b"
},
"downloads": -1,
"filename": "nobinobi_child-0.1.4.28-py3-none-any.whl",
"has_sig": false,
"md5_digest": "237d48a09d29a2e48adafda40aef7744",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.7.0",
"size": 26860401,
"upload_time": "2024-11-25T17:37:52",
"upload_time_iso_8601": "2024-11-25T17:37:52.560469Z",
"url": "https://files.pythonhosted.org/packages/49/2d/e05e1b9ca452fe235a9a881f427bdadabc102c2b6023fa2720d74dc6bf5a/nobinobi_child-0.1.4.28-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e015eac87820caad0d60ccbac4aa39dab32ac0f94494d9795e00cf2e55f4bfb3",
"md5": "d5358d00f17ed4ef72b1629369b5de96",
"sha256": "2035db42fb94faf33937c7f71990dd19cc394927ef839aa7856f0d7caa200cc3"
},
"downloads": -1,
"filename": "nobinobi_child-0.1.4.28.tar.gz",
"has_sig": false,
"md5_digest": "d5358d00f17ed4ef72b1629369b5de96",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.7.0",
"size": 24809490,
"upload_time": "2024-11-25T17:38:55",
"upload_time_iso_8601": "2024-11-25T17:38:55.615662Z",
"url": "https://files.pythonhosted.org/packages/e0/15/eac87820caad0d60ccbac4aa39dab32ac0f94494d9795e00cf2e55f4bfb3/nobinobi_child-0.1.4.28.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-25 17:38:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "prolibre-ch",
"github_project": "nobinobi-child",
"travis_ci": true,
"coveralls": true,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "nobinobi-child"
}