﻿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
27033	static tag causes AppRegistryNotReady errors on 1.10	Florian Apolloner	nobody	"See the trace:
{{{ 
Traceback (most recent call last):
  File ""manage.py"", line 10, in <module>
    execute_from_command_line(sys.argv)
  File ""/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py"", line 367, in execute_from_command_line
    utility.execute()
  File ""/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py"", line 341, in execute
    django.setup()
  File ""/usr/local/lib/python2.7/dist-packages/django/__init__.py"", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File ""/usr/local/lib/python2.7/dist-packages/django/apps/registry.py"", line 85, in populate
    app_config = AppConfig.create(entry)
  File ""/usr/local/lib/python2.7/dist-packages/django/apps/config.py"", line 90, in create
    module = import_module(entry)
  File ""/usr/lib/python2.7/importlib/__init__.py"", line 37, in import_module
    __import__(name)
  File ""/home/anon/.local/lib/python2.7/site-packages/easy_select2/__init__.py"", line 7, in <module>
    from easy_select2.utils import (
  File ""/home/anon/.local/lib/python2.7/site-packages/easy_select2/utils.py"", line 6, in <module>
    from easy_select2.widgets import Select2Mixin, Select2, Select2Multiple
  File ""/home/anon/.local/lib/python2.7/site-packages/easy_select2/widgets.py"", line 16, in <module>
    static('easy_select2/js/easy_select2.js'),
  File ""/usr/local/lib/python2.7/dist-packages/django/templatetags/static.py"", line 163, in static
    return StaticNode.handle_simple(path)
  File ""/usr/local/lib/python2.7/dist-packages/django/templatetags/static.py"", line 112, in handle_simple
    if apps.is_installed('django.contrib.staticfiles'):
  File ""/usr/local/lib/python2.7/dist-packages/django/apps/registry.py"", line 225, in is_installed
    self.check_apps_ready()
  File ""/usr/local/lib/python2.7/dist-packages/django/apps/registry.py"", line 124, in check_apps_ready
    raise AppRegistryNotReady(""Apps aren't loaded yet."")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
}}}

Marking as RB till we know how we want to handle it. Do we have a way to check if the app is installed without triggering app registry ready checks?"	Uncategorized	closed	contrib.staticfiles	1.10	Release blocker	wontfix			Accepted	0	0	0	0	0	0
