﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29554	Allow loading apps dynamically at runtime	Christian González	nobody	"I stumbled upon a problem I am not able to solve, and I think this is a feature that should be in Django core AFAIKT.
Until Django 1.x it was possible to add apps dynamically to INSTALLED_APPS during runtime, and reload the cache, see here:
https://stackoverflow.com/questions/19833393/django-dynamically-add-apps-as-plugin-building-urls-and-other-settings-automat

Even if I think this is a bit of a hack and it was never really meant that way (?), nevertheless there should be an official possibility to do so.

I have made a Django application with dynamically apps at server startup time - this is no problem, just search for a plugins dir during settings.py and add the dotted paths to INSTALLED_APPS. Works fine, but one problem remains:

If I want to enable dynamic app installation - like an ""app store"" in my application - users can download apps from my ""store"", and enable them using my web interface - there currently is no way to achieve that besides restarting the Django server, right?

During setup, Apps.populate() is called - and its docstring says that the method is idempotent. Is it possible/allowed/recommended to add some paths to django.conf.settings.INSTALLED_APPS and call that populate() again later during runtime?"	New feature	closed	Core (Other)	2.0	Normal	needsinfo		Aymeric Augustin	Unreviewed	0	0	0	0	0	0
