a django application to add notes to models
A django-modelnotes is a reusable django application for adding notes to models.
This app is still under development
Author | David Slusser |
Description | A django application for adding notes to models. |
Requirements | Python 3.x Django 3.x |
shell script
pip install django-modelnotes
INSTALLED_APPS = [
...
'modelnotes',
]
to include views to manage notes, add the following to your project-level urls.py:
urlpatterns = [
...
path('modelnotes/', include('modelnotes.urls', )),
]
run migrationsshell script
python ./manage.py migrate modelnotes
add to models via GenericRelation
from modelnotes.models import ModelNoteField
class MyModel(models.Model):
...
notes = ModelNoteField()
django-modelnotes is licensed under the MIT license (see the LICENSE file for details).