Right, we have not tested the layer index code with Django > 1.8.x, I would expect problems like this until we migrate (which probably won't be for a while I suspect).
Cheers, Paul On Tuesday, 24 January 2017 2:57:46 PM NZDT Peter Tulpen wrote: > Hello Paul, > you are brilliant: > I had errors with django 1.10 and uncommented: > from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP > TEMPLATE_CONTEXT_PROCESSORS = TCP + ( > 'django.core.context_processors.request', > 'layerindex.context_processors.layerindex_context', > ) > > Since it was causing problems and was deprecated and not needed in 1.10 > (according to some websites) But since I cold not get it working with 1.10 > anyway, I downgraded to 1.8 again and forgot about this parts > > Thanks a lot > > > --- Ursprüngliche Nachricht --- > Von: Paul Eggleton <[email protected]> > Datum: 22.01.2017 20:23:43 > An: Peter Tulpen <[email protected]> > Betreff: Re: [yocto] [layerindex-web] issue with webinterface > > > Hi Peter, > > > > On Thu, 19 Jan 2017 18:05:12 Peter Tulpen wrote: > > > Hello, I installed the webinterface locally and configured it with > > > several > > > > > > branches But when I want to browse it, I can only choose master: > > > > > > https://postimg.org/image/dq1vj6v7h/ > > > > > > When I browse to http://MYSERVER/layerindex/branch/jethro/layers/, I > > > > see > > > > > that the branches are there My installation based on a git clone from > > > > the > > > > > master tree. > > > > > > Did I miss something or did I hit a bug? > > > > There's no filtering on the query used to get the list of branches to show > > > > other than the name is not "oe-classic". However, one way I can > > think of that > > that could be blank would be if the context processors used to inject the > > > > "all_branches" queryset results into the context for each page. > > You haven't > > modified settings.py such that > > layerindex.context_processors.layerindex_context has been removed from the > > > > TEMPLATE_CONTEXT_PROCESSORS value by any chance? > > > > Otherwise, what changes did you make to settings.py? Which Django version > > are > > you using? > > > > Cheers, > > Paul > > > > -- > > > > Paul Eggleton > > Intel Open Source Technology Centre -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
