summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/reporead.py3
-rw-r--r--settings.py2
-rw-r--r--templates/devel/index.html2
3 files changed, 5 insertions, 2 deletions
diff --git a/scripts/reporead.py b/scripts/reporead.py
index 2f97bbb..08bf038 100755
--- a/scripts/reporead.py
+++ b/scripts/reporead.py
@@ -77,6 +77,9 @@ class Pkg(object):
selfdict['name'] = val['name'][0]
del val['name']
+ if 'desc' not in val:
+ logger.warning("Package %s has no description" % selfdict['name'])
+ val['desc'] = ''
if 'url' not in val:
val['url'] = ''
for x in val.keys():
diff --git a/settings.py b/settings.py
index b0e3cf2..1d08673 100644
--- a/settings.py
+++ b/settings.py
@@ -60,7 +60,7 @@ if CACHE == True:
MIDDLEWARE_CLASSES += (
"django.middleware.common.CommonMiddleware",
"django.middleware.doc.XViewMiddleware",
- "main.middleware.RequireLoginMiddleware",
+ "archweb_dev.main.middleware.RequireLoginMiddleware",
)
ROOT_URLCONF = 'archweb_dev.urls'
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 9105537..8c621cc 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -102,7 +102,7 @@
</ul>
<ul class="small">
{% for pkg in pkgs %}
- <li><a href="/packages/{{ pkg.id }}/">{{ pkg.repo.name }}::{{ pkg.pkgname }} {{ pkg.pkgver }}</a></li>
+ <li><a href="/packages/{{ pkg.id }}/">{{ pkg.repo.name }}::{{ pkg.pkgname }} &nbsp; &nbsp; {{ pkg.pkgver }} &nbsp; &nbsp; {{ pkg.arch.name }}</a></li>
{% endfor %}
</ul>
{% endif %}