Re: Apps aren't loaded yet

30 views
Skip to first unread message

Dave Hall

unread,
Feb 21, 2016, 5:38:30 AM2/21/16
to django-watson discussion group
Try the master branch. You shouldn't need to do the import inside ready() any more.

In a template, just access the .meta property of the search result model.
On Sat, 20 Feb 2016 at 15:38, E. Camilo <evsc...@gmail.com> wrote:
I had to add the import inside ready() (apps.py) function in order to make it work.

Another question, though: How do I access the .meta attribute inside the template?

--
You received this message because you are subscribed to the Google Groups "django-watson discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-watso...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-watson.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages