fix(models.package_source): fix primary key constraints

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-12-21 15:26:25 -08:00
parent 22093c5c38
commit 5142447b7e
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 12 additions and 5 deletions

View file

@ -45,14 +45,14 @@
</div>
<div id="pkgfiles" class="listing">
<h3>Sources ({{ sources.count() }})</h3>
<h3>Sources ({{ sources | length }})</h3>
</div>
<div>
<ul id="pkgsrcslist">
{% for source in sources.all() %}
{% for src in sources %}
<li>
<a href="{{ source.Source }}">{{ source.Source }}</a>
<a href="{{ src.Source }}">{{ src.Source }}</a>
</li>
{% endfor %}
</ul>