# -*- coding: utf-8 -*-

import json

from django.http import HttpResponseRedirect, HttpResponse
from django.template import RequestContext
from django.shortcuts import render_to_response
from django.db.models import F
from django.contrib.auth.decorators import login_required

from core import resource
from core.jsonresponse import create_response
from webapp import models as webapp_models

from termite2 import pagecreater


class ComponentRenderResult(resource.Resource):
	"""
	component的渲染结果
	"""
	app = 'termite2'
	resource = 'component_render_result'

	@login_required
	def api_put(request):
		response = pagecreater.create_component(request)

		return response

e09312b965320fa9c4dd3895419482093cb68e69
<mask token>


class ComponentRenderResult(resource.Resource):
    <mask token>
    <mask token>
    <mask token>

    @login_required
    def api_put(request):
        response = pagecreater.create_component(request)
        return response

<mask token>


class ComponentRenderResult(resource.Resource):
    <mask token>
    app = 'termite2'
    resource = 'component_render_result'

    @login_required
    def api_put(request):
        response = pagecreater.create_component(request)
        return response

<mask token>


class ComponentRenderResult(resource.Resource):
    """
	component的渲染结果
	"""
    app = 'termite2'
    resource = 'component_render_result'

    @login_required
    def api_put(request):
        response = pagecreater.create_component(request)
        return response

import json
from django.http import HttpResponseRedirect, HttpResponse
from django.template import RequestContext
from django.shortcuts import render_to_response
from django.db.models import F
from django.contrib.auth.decorators import login_required
from core import resource
from core.jsonresponse import create_response
from webapp import models as webapp_models
from termite2 import pagecreater


class ComponentRenderResult(resource.Resource):
    """
	component的渲染结果
	"""
    app = 'termite2'
    resource = 'component_render_result'

    @login_required
    def api_put(request):
        response = pagecreater.create_component(request)
        return response

# -*- coding: utf-8 -*-

import json

from django.http import HttpResponseRedirect, HttpResponse
from django.template import RequestContext
from django.shortcuts import render_to_response
from django.db.models import F
from django.contrib.auth.decorators import login_required

from core import resource
from core.jsonresponse import create_response
from webapp import models as webapp_models

from termite2 import pagecreater


class ComponentRenderResult(resource.Resource):
	"""
	component的渲染结果
	"""
	app = 'termite2'
	resource = 'component_render_result'

	@login_required
	def api_put(request):
		response = pagecreater.create_component(request)

		return response
