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.4.15 (2023-09-18)

  • e428ed3 - Fix bug on login icon

  • 068bba3 - Append a line on top of child tracking log to add a new entry

  • a4e62e6 - display only child in progress in absence list

  • Update requirements

0.1.4.14 (2023-07-17)

  • b6bc75b - add an import extrajs in template base

0.1.4.13 (2023-07-14)

  • 7253788 - Rename inline in child’s admin

  • update requirements

0.1.4.12 (2023-06-14)

  • update requirements

0.1.4.11 (2023-05-16)

  • 4d81084 - Distinct list of absence create

  • update requirements

0.1.4.10 (2023-02-01)

  • 1b45fda - Update traduction

  • dcc04ea - Add possibility to use default menu or add new one if you use in another program

0.1.4.9 (2023-01-26)

  • 9dd851b - fix to use replacementclassroom in absence create

0.1.4.8 (2023-01-24)

  • 59e60fa - add filter when add absence in absence list and create button

  • update requirements

0.1.4.7 (2022-10-31)

  • 8635383 - fix display on many admin menu system

0.1.4.6 (2022-10-26)

  • e247fec - Use html safe for autorisations

  • 7667e6d - Add settings for ordering and list_display child in admin

  • Update requirements

0.1.4.5 (2022-10-24)

  • 57b06dd - fix display child detail in smartphone

  • 3b25c38 - rename file migrate autorisation

  • c4ecd38 - Add field autorisations

  • 67a292a - Add collapsed category for admin child for best read

  • 446e224 - Update coverage from 6.4.4 to 6.5.0

  • dd7807a - Update invoke from 1.7.1 to 1.7.3

  • 3ad06ae - Update phonenumbers from 8.12.55 to 8.12.57

0.1.4.4 (2022-09-22)

  • ee05d14 - fix if admin and webmaster exist in auto archive child

0.1.4.3 (2022-09-22)

  • f2085b0 - bugfix in import User in auto_archive_child job

0.1.4.2 (2022-09-21)

  • 6d240a3 - fix bug with auto archive child

  • 4cbc105 - fix bug in display list children

  • e908dc7 - add papa and maman to list of name of parents

  • c2aabe3 - Add setting for module add constraint for log change classroom

  • Update traduction

  • Update requirements

0.1.4.1 (2022-05-16)

  • b2d820c - fix error in signal for autoclose period

0.1.4 (2022-05-16)

  • 7eeb34e - Merge branch ‘feature/add-end-auto-period-for-child’

  • 838cf32 - Merge branch ‘feature/add-tracking-log-to-child’

  • Update requirements

0.1.3.15 (2022-03-15)

  • 0c89a78 - Add showing length for display child list

  • Update traduction

  • Update requirements

0.1.3.14 (2022-03-11)

  • d55eaf1 - Fix load list of child and filter

  • 9c494ad - Fix import in models.py

  • b013423 - Fix for new system for specify date in method to check if has a classroom

  • Update traduction

0.1.3.13 (2022-01-20)

  • a472861 - Add new system for replacement classroom

  • Update traduction

0.1.3.12 (2022-01-13)

  • e5def55 - Change display of information of the day in template page

  • Update traduction

0.1.3.11 (2021-12-22)

  • 6034030 - Fix bug display modal under menu

0.1.3.10 (2021-12-22)

  • 99c3d1c - Reverse order and display of child

  • d11a73c - Add system to change display of classroom by settings variable

0.1.3.9 (2021-12-20)

  • f3e824c - allow blank field language in child

  • 8f3d622 - Fix requirements bug

  • 01add3f - Set queryset staff in child for use only active staff in dropdown

  • 4aecb4c - Display by default only child in progress in admin page for children.

  • eb9ca31 - Update text for contact in child list with yes, no

0.1.3.8 (2021-12-14)

  • c5a4b25 - Change display and ordering in full name of child

  • 2a0c8ea - Update import from django bootstrap plus

  • Update requirements

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.4.15.tar.gz (24.8 MB view hashes)

Uploaded Source

Built Distribution

nobinobi_child-0.1.4.15-py2.py3-none-any.whl (26.8 MB view hashes)

Uploaded Python 2 Python 3

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