25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

blog.py 367 B

1234567891011
  1. # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
  2. # MIT License. See license.txt
  3. from __future__ import unicode_literals
  4. import webnotes
  5. from webnotes.webutils import render_blocks
  6. def get_context(context):
  7. blog_context = webnotes.doc("Blog Settings", "Blog Settings").fields
  8. blog_context.update(context)
  9. return render_blocks(blog_context)