context_processors.py: adjust default site name
PATCH 1/2 context_processors.py: adjust default site name
Default site name should be Layer Index, not metadata index as it was before.
--- layerindex/context_processors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
layerindex/context_processors.py +2 -2
@@ -12,10 +12,10 @@ def layerindex_context(request): if site and site.name and site.name != 'example.com': site_name = site.name else: - site_name = 'OpenEmbedded metadata index' + site_name = 'OpenEmbedded Layer Index' return { 'all_branches': Branch.objects.exclude(name='oe-classic').order_by('sort_priority'), 'unpublished_count': LayerItem.objects.filter(status='N').count(), 'oe_classic': Branch.objects.filter(name='oe-classic'), 'site_name': site_name - } + }
Signature · 1 line
2.14.3
PATCH 2/2 requirements.txt: use the most recent Django 1.8 version
Use <1.9 to always get the most recent 1.8 point release.
--- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
requirements.txt +1 -1
@@ -3,7 +3,7 @@ anyjson==0.3.3 billiard==3.5.0.3 celery==4.1.0 confusable-homoglyphs==2.0.2 -Django==1.8.18 +Django<1.9 django-cors-headers==1.1.0 django-nvd3==0.9.7 django-ranged-response==0.2.0
Signature · 1 line
2.14.3
Re: [layerindex-web][PATCH 2/2] requirements.txt: use the most recent Django 1.8 version
Paul,
Have you seen this ?
https://www.djangoproject.com/download/#supported-versions
1.8 will EOL this April
- armin
Quoted 20 lines · Paul Eggleton
Use <1.9 to always get the most recent 1.8 point release.
Signed-off-by Paul Eggleton <[email protected]>--- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)requirements.txt +1
-1@@ -3,7 +3,7 @@ anyjson==0.3.3 billiard==3.5.0.3 celery==4.1.0 confusable-homoglyphs==2.0.2 -Django==1.8.18 +Django<1.9 django-cors-headers==1.1.0 django-nvd3==0.9.7 django-ranged-response==0.2.0
Re: [layerindex-web][PATCH 2/2] requirements.txt: use the most recent Django 1.8 version
Hi Armin,
Quoted 5 lines · On Tuesday, 27 March 2018 4:14:25 AM NZDT akuster808 wrote:
Have you seen this ?
https://www.djangoproject.com/download/#supported-versions
1.8 will EOL this April
Ah yes, I was aware this was looming but had forgotten how close it was. Thanks for the reminder, I guess I have another item for my todo list...
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre