Browse Source

import fix

version-14
Rushabh Mehta 11 years ago
parent
commit
a7ea86d5b3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      webnotes/website/website_generator.py

+ 1
- 1
webnotes/website/website_generator.py View File

@@ -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):


Loading…
Cancel
Save