# Path: antioch/plugins/editors/views.py
# SUCCESS_JSON = '{"msg":"Successful update."}'
# EXCEPTION_JSON = '{"msg":"%s"}'
# def get_errors_json(form):
#     def dispatch(self, *args, **kwargs):
#     def form_valid(self, form):
#     def form_invalid(self, form):
#     def get_form_kwargs(self):
#     def get_form_kwargs(self):
# def access_editor(request, type, pk):
# class LoginRequiredMixin(object):
# class AjaxFormMixin(object):
# class EditorFormView(LoginRequiredMixin, AjaxFormMixin, UpdateView):
# class ObjectEditorFormView(EditorFormView):
# class PropertyEditorFormView(EditorFormView):
# class VerbEditorFormView(EditorFormView):
# class AccessEditorFormView(LoginRequiredMixin, AjaxFormMixin, UpdateView):


from django.urls import include, path
from antioch.plugins.editors import views


app_name = 'editors'

urlpatterns = [
    path(r'editor/object/<int:pk>', views.ObjectEditorFormView.as_view(), name='object_editor'),

# Path: antioch/plugins/editors/views.py
# SUCCESS_JSON = '{"msg":"Successful update."}'
# EXCEPTION_JSON = '{"msg":"%s"}'
# def get_errors_json(form):
#     def dispatch(self, *args, **kwargs):
#     def form_valid(self, form):
#     def form_invalid(self, form):
#     def get_form_kwargs(self):
#     def get_form_kwargs(self):
# def access_editor(request, type, pk):
# class LoginRequiredMixin(object):
# class AjaxFormMixin(object):
# class EditorFormView(LoginRequiredMixin, AjaxFormMixin, UpdateView):
# class ObjectEditorFormView(EditorFormView):
# class PropertyEditorFormView(EditorFormView):
# class VerbEditorFormView(EditorFormView):
# class AccessEditorFormView(LoginRequiredMixin, AjaxFormMixin, UpdateView):


# Path: antioch/plugins/editors/urls.py
from django.urls import include, path
from antioch.plugins.editors import views



app_name = 'editors'

urlpatterns = [
    path(r'editor/object/<int:pk>', views.ObjectEditorFormView.as_view(), name='object_editor'),

    path(r'editor/property/<int:pk>', views.PropertyEditorFormView.as_view(), name='property_editor'),