Hi,
Wanted to try 1.7 and I'm hit by an exception that don't know how to solve
:)

running current 1.7.x branch, here full runserver output:

orchestra@orchestra:~/panel$ python manage.py runserver 0.0.0.0:8888
/usr/local/lib/python2.7/dist-packages/djcelery/managers.py:77:
RemovedInDjango18Warning: `ExtendedManager.get_query_set` method should be
renamed `get_queryset`.
  class ExtendedManager(models.Manager):

/usr/local/lib/python2.7/dist-packages/djcelery/managers.py:108:
RemovedInDjango18Warning: commit_manually is deprecated in favor of
set_autocommit.
  @transaction.commit_manually

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 385, in execute_from_command_line
    utility.execute()
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 354, in execute
    django.setup()
  File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line
21, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py",
line 106, in populate
    app_config.import_models(all_models)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line
190, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File
"/home/orchestra/django-orchestra/orchestra/apps/accounts/models.py", line
8, in <module>
    class Account(models.Model):
  File
"/home/orchestra/django-orchestra/orchestra/apps/accounts/models.py", line
9, in Account
    user = models.OneToOneField(get_user_model(), related_name='accounts')
  File
"/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py",
line 136, in get_user_model
    return django_apps.get_model(settings.AUTH_USER_MODEL)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py",
line 187, in get_model
    self.check_ready()
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py",
line 119, in check_ready
    raise AppRegistryNotReady()
django.core.exceptions.AppRegistryNotReady


My impression is that breaks when loading a model that has a reference to
custom user model:

    user = models.OneToOneField(get_user_model(), related_name='accounts')


Any idea?
-- 
Marc

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BDCN_vWsJ7j1BKGbuNpOPD%3DqHCffD8829Bu8N6zpfPua-k7%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to