Answer the question
In order to leave comments, you need to log in
How to get a list of Django apps I've written?
Hello, is there a way to identify in the list of applications those created inside the project?
I know that the django.apps module provides an instance of apps that you can access and get a list of all the apps, but how do you know that those apps belong to a project and not some overlay on the framework or internals?
Answer the question
In order to leave comments, you need to log in
What for? More like something unnecessary. All applications are listed in INSTALLED_APPS, it's just impossible to distinguish which one is yours and which one is built-in. But you can distinguish them by names, well, either add some property to apps.py for your own, by which to distinguish, or maintain your own list of your apps
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question