Procházet zdrojové kódy

Fix in web page

version-14
Nabin Hait před 11 roky
rodič
revize
d88b4a3b06
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. +1
    -2
      webnotes/website/doctype/web_page/web_page.py

+ 1
- 2
webnotes/website/doctype/web_page/web_page.py Zobrazit soubor

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


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


Načítá se…
Zrušit
Uložit