瀏覽代碼

Do not show the 'redirect_page_route_path' field in the form

Andy Babic 3 年之前
父節點
當前提交
b6c80e67eb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      wagtail/contrib/redirects/forms.py

+ 1 - 1
wagtail/contrib/redirects/forms.py

@@ -43,7 +43,7 @@ class RedirectForm(forms.ModelForm):
 
     class Meta:
         model = Redirect
-        fields = ('old_path', 'site', 'is_permanent', 'redirect_page', 'redirect_page_route_path', 'redirect_link')
+        fields = ('old_path', 'site', 'is_permanent', 'redirect_page', 'redirect_link')
 
 
 class ImportForm(forms.Form):