ソースを参照

Fix in web page

version-14
Nabin Hait 11年前
コミット
d88b4a3b06
1個のファイルの変更1行の追加2行の削除
  1. +1
    -2
      webnotes/website/doctype/web_page/web_page.py

+ 1
- 2
webnotes/website/doctype/web_page/web_page.py ファイルの表示

@@ -5,9 +5,8 @@ from __future__ import unicode_literals
import webnotes
from webnotes.webutils import WebsiteGenerator
from webnotes import _
from webnotes.model.controller import DocListController

class DocType(DocListController, WebsiteGenerator):
class DocType(WebsiteGenerator):
def autoname(self):
from webnotes.webutils import cleanup_page_name
self.doc.name = cleanup_page_name(self.doc.title)


読み込み中…
キャンセル
保存