Skip to main content

No project description provided

Project description

https://badge.fury.io/py/nobinobi-child.svg https://travis-ci.org/prolibre-ch/nobinobi-child.svg?branch=master https://codecov.io/gh/prolibre-ch/nobinobi-child/branch/master/graph/badge.svg Updates 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:

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:

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:

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nobinobi_child-0.1.4.27.tar.gz (24.8 MB view details)

Uploaded Source

Built Distribution

nobinobi_child-0.1.4.27-py3-none-any.whl (26.9 MB view details)

Uploaded Python 3

File details

Details for the file nobinobi_child-0.1.4.27.tar.gz.

File metadata

  • Download URL: nobinobi_child-0.1.4.27.tar.gz
  • Upload date:
  • Size: 24.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.4 Windows/11

File hashes

Hashes for nobinobi_child-0.1.4.27.tar.gz
Algorithm Hash digest
SHA256 ee92ca47829cf9a4c330ffb876750c0bc8cac9c235532e8543c35ee437b180cc
MD5 9b8b9cf29cf433eb32b33ca55495995d
BLAKE2b-256 1bc04d3abd68838050e85587bef6fcf353267f8119daf9b8ad837e8706a2f9e0

See more details on using hashes here.

File details

Details for the file nobinobi_child-0.1.4.27-py3-none-any.whl.

File metadata

File hashes

Hashes for nobinobi_child-0.1.4.27-py3-none-any.whl
Algorithm Hash digest
SHA256 e50ed8470b348eefe7ee06e7a07c91a42c66f8d6838ded96ef019c4acd9ef3e1
MD5 dbd5655ca46e177ed3e5d9bd97426221
BLAKE2b-256 829b7b8d4c6f5d1989532e7ae92be619dd78d8bfaaa7d9adf9fb6a52a8a1af40

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page