Application Child for Nobinobi
Project description
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.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nobinobi_child-0.1.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0864a1c64f1c8c8b501217e9c47465342e3558174e0f30d1c6cc688e2e7cf809 |
|
MD5 | 8bf4d7b35329a419e20f0099cf3f1d2b |
|
BLAKE2b-256 | d047988995e4648073ae9459c373a7c41baae03180de584b682a11119508fa81 |