Rushabh Mehta 11 лет назад
Родитель
Сommit
a7ea86d5b3
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      webnotes/website/website_generator.py

+ 1
- 1
webnotes/website/website_generator.py Просмотреть файл

@@ -4,12 +4,12 @@
from __future__ import unicode_literals
import webnotes
from webnotes.model.controller import DocListController
from webnotes.website.utils import cleanup_page_name

from webnotes.website.doctype.website_sitemap.website_sitemap import add_to_sitemap, update_sitemap, remove_sitemap

class WebsiteGenerator(DocListController):
def autoname(self):
from webnotes.website.utils import cleanup_page_name
self.doc.name = cleanup_page_name(self.get_page_title())

def set_page_name(self):


Загрузка…
Отмена
Сохранить