On Sunday, 15 January 2017 18:03:54 UTC, Peter Müller wrote:
>
> Hello everybody.
>
>
> I just began learning how to use django. So I wanted to include data from 
> the database in a testwebsite.
> Therefore I made a new app and created a model called "user" and a view 
> that should fill a template with data from that model.
> To do this (according to Django 1.10 Docs/Tutorial) I need to import the 
> model class into the view file and for example use models.user.all().
> However on import of the view Django complains about 
> django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet
>
> What is the solution to that problem?
>
> Greetings
> Peter
>

There is no possible way to answer this question without seeing the view 
itself, and the full error traceback.
-- 
DR. 

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/556e003e-c90b-47f2-8d5d-7e96b58d6105%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to