I myself am using an implementation like DRF does it: https://github.com/encode/django-rest-framework/blob/e16273a6584f9657c1e5c388558e9c5c92e7ba38/rest_framework/settings.py
They create a class "APISettings", and mimic the Django behaviour. Dand graphene-django has adapted it already and changed a bit: https://github.com/graphql-python/graphene-django/blob/fcc3de2a90bb81a7a02f9099029da3e4aa82b06e/graphene_django/settings.py Mind the "# Copied shamelessly from Django REST Framework" ;-) And yes, I shamelessly copied it too in my GDAPS project. But it's a really bad workaround, and does not function like I would "phthonically" like it. Christian Am 07.05.19 um 17:02 schrieb J. Pic: > Great idea Christian, actually some frameworks have this kind of > feature, such as CakePHP, in which apps can also inject urls and > middlewares for example. > > This would be a huge step forward for the ecosystem (and when apps can > share node modules you're done haha !). > -- > You received this message because you are subscribed to the Google > Groups "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to django-developers+unsubscr...@googlegroups.com > <mailto:django-developers+unsubscr...@googlegroups.com>. > To post to this group, send email to > django-developers@googlegroups.com > <mailto:django-developers@googlegroups.com>. > Visit this group at https://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/CAC6Op1-31f1bimWFsWG9PA8oqu1rRErurkUFnXr6%3D8FyrWfEYg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-developers/CAC6Op1-31f1bimWFsWG9PA8oqu1rRErurkUFnXr6%3D8FyrWfEYg%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- Dr. Christian González https://nerdocs.at -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/95e9383b-5a5c-6bcc-58b5-5d9a3c63c262%40nerdocs.at. For more options, visit https://groups.google.com/d/optout.
pEpkey.asc
Description: application/pgp-keys