Parcourir la source

Forgot to fix a view when renaming the url attribute to json_url

Gu1 il y a 11 ans
Parent
commit
31fe5e8ac6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      ffdnispdb/views.py

+ 1 - 1
ffdnispdb/views.py

@@ -202,7 +202,7 @@ def json_url_validator():
 def create_project_json():
     form = forms.ProjectJSONForm()
     if form.validate_on_submit():
-        u=list(form.url.data)
+        u=list(form.json_url.data)
         u[2]='/isp.json' # new path
         url=urlunsplit(u)
         session['form_json'] = {'url': url, 'tech_email': form.tech_email.data}