src/notes/apps.py
author ymh <ymh.work@gmail.com>
Fri, 30 Nov 2018 10:53:15 +0100
changeset 183 f8f3af9e5c83
parent 117 9864fe2067cd
permissions -rw-r--r--
Change the settings to avoid using Session authentication for rest framework as it raise exceptions in case client and backend are on the same domain On the filter, adapt to take into account new version of django_filters
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24
3b3999550508 first data model for backend
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
from django.apps import AppConfig
3b3999550508 first data model for backend
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
3b3999550508 first data model for backend
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
3b3999550508 first data model for backend
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
class NotesConfig(AppConfig):
3b3999550508 first data model for backend
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    name = 'notes'
117
9864fe2067cd Add api endpoints for group management
ymh <ymh.work@gmail.com>
parents: 24
diff changeset
     6
9864fe2067cd Add api endpoints for group management
ymh <ymh.work@gmail.com>
parents: 24
diff changeset
     7
    def ready(self):
9864fe2067cd Add api endpoints for group management
ymh <ymh.work@gmail.com>
parents: 24
diff changeset
     8
        # import signal handlers
9864fe2067cd Add api endpoints for group management
ymh <ymh.work@gmail.com>
parents: 24
diff changeset
     9
        import notes.signals