Skip to main content

Application Child for Nobinobi

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:

History

0.1.3.7 (2021-06-07)

  • Update requirements for security Fix

0.1.3.6 (2021-04-13)

  • Update requirements for security Fix

0.1.3.5 (2021-03-31)

  • 7c0ee7b - Add link to Organisation for classroom

  • Update requirements

0.1.3.4 (2021-02-24)

  • e0bda4d - Set the allowed_login and allowed_group fields to blank.

  • e758626 - Update pylint from 2.7.0 to 2.7.1

0.1.3.3 (2021-02-23)

  • 069d4cf - Added the ability to specify the group for the classes allowed to log in.

  • b7c0194, aafe110 - Fix requirements

0.1.3.2 (2021-01-02)

  • 37be1c1 - Display phone as international for contact

  • da16e4a - Removing the display of homeopathy [DEPRECATED]

  • Update requirements

0.1.3.1 (2021-21-01)

  • Remove dependency for django-suit

  • Add check for display menu from permission

  • Update requirements

0.1.3 (2020-10-12)

  • Add local in package

  • Update requirements

0.1.2 (2020-09-22)

  • Fix migrations and support for django 4

0.1.1.1 (2020-09-08)

  • Fix Manifest to add woff woff2 ttf ico

  • Add in requirements.txt and setup.py -> djangorestframework-datatables==0.5.2

0.1.1 (2020-09-08)

  • Fix manifest to include JSON and change setup.py publish and version system

  • Update Requirement

0.1.0 (2020-08-28)

  • First release on PyPI.

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.3.7.tar.gz (24.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nobinobi_child-0.1.3.7-py2.py3-none-any.whl (26.8 MB view details)

Uploaded Python 2Python 3

File details

Details for the file nobinobi-child-0.1.3.7.tar.gz.

File metadata

  • Download URL: nobinobi-child-0.1.3.7.tar.gz
  • Upload date:
  • Size: 24.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for nobinobi-child-0.1.3.7.tar.gz
Algorithm Hash digest
SHA256 b1a473cdbfc30dc16d2df286241ee6da6c6d9a6ce1f17d1605c15f21e4a44aa5
MD5 c4d716c84d8e80118fdf9de4eb1add28
BLAKE2b-256 eef0bd1bab7f7f82bf3773fd5cb87409021957854b0fcc1478181f5d85978846

See more details on using hashes here.

File details

Details for the file nobinobi_child-0.1.3.7-py2.py3-none-any.whl.

File metadata

  • Download URL: nobinobi_child-0.1.3.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 26.8 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for nobinobi_child-0.1.3.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b9e7385107df22102c9192e9c0bda2bafe9d8798abb8efebae4f13f7216aa337
MD5 32462a1fa4e21e80d8905f445dc6b02a
BLAKE2b-256 41532938262ba1a4a2cf5a8779054bd2022bc6d727b9b1295df19a19c1b17ce2

See more details on using hashes here.

Supported by

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