From 4c1a86249b295368b7a933a50e36beaad5926c55 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Tue, 6 Aug 2024 10:35:17 +0200 Subject: views: fix image create backtrace Fix backtrace caused by efd0b8ac Don't access the field scopes in ImageCreateForm as it does not exist. --- ogcp/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ogcp/views.py b/ogcp/views.py index 6b8607e..6d729f3 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -2357,8 +2357,6 @@ def action_image_create(): if client_repo_id == repo['id']] form.repository.render_kw = {'readonly': True} - form.scopes.choices = get_available_centers() - scopes, clients = get_scopes(set(ips)) return render_template('actions/image_create.html', form=form, scopes=scopes) -- cgit v1.2.3-18-g5258