# Path: wagtailplus/wagtaillinks/views/choosers.py
# class LinkChooseView(chooser.ChooseView):
# class LinkCreateView(chooser.CreateView):
# class LinkChosenView(chooser.ChosenView):
# class ExternalLinkChooseView(LinkChooseView):
# class EmailLinkChooseView(LinkChooseView):
# class CreateAndEmbedLinkView(chooser.CreateView):
#     def get_queryset(self):
#     def get_search_filters(self):
#     def get_queryset(self):
#     def get_search_filters(self):
#     def get_queryset(self):
#     def form_invalid(self, form):
#     def form_valid(self, form):
# 
# Path: wagtailplus/views/hallo.py
# def toggle_hallo_source(request):
#     """
#     Returns modal workflow HTTP response for hallo.js content.
# 
#     :rtype: django.http.HttpResponse.
#     """
#     return render_modal_workflow(
#         request,
#         'wagtailplus/toggle-hallo-source/update.html',
#         'wagtailplus/toggle-hallo-source/update.js'
#     )


from django.conf.urls import url
from wagtailplus.wagtaillinks.views import choosers
from .views.hallo import toggle_hallo_source

"""
Contains admin URLs.
"""




# Override default link chooser URLs, as we are storing both external
# and email links in models.
urlpatterns = [
    url(
        r'^choose-external-link/$',
        choosers.ExternalLinkChooseView.as_view(),
        name='wagtailadmin_choose_page_external_link'
    ),
    url(
        r'^choose-email-link/$',

# Path: wagtailplus/wagtaillinks/views/choosers.py
# class LinkChooseView(chooser.ChooseView):
# class LinkCreateView(chooser.CreateView):
# class LinkChosenView(chooser.ChosenView):
# class ExternalLinkChooseView(LinkChooseView):
# class EmailLinkChooseView(LinkChooseView):
# class CreateAndEmbedLinkView(chooser.CreateView):
#     def get_queryset(self):
#     def get_search_filters(self):
#     def get_queryset(self):
#     def get_search_filters(self):
#     def get_queryset(self):
#     def form_invalid(self, form):
#     def form_valid(self, form):
# 
# Path: wagtailplus/views/hallo.py
# def toggle_hallo_source(request):
#     """
#     Returns modal workflow HTTP response for hallo.js content.
# 
#     :rtype: django.http.HttpResponse.
#     """
#     return render_modal_workflow(
#         request,
#         'wagtailplus/toggle-hallo-source/update.html',
#         'wagtailplus/toggle-hallo-source/update.js'
#     )


# Path: wagtailplus/urls.py
from django.conf.urls import url
from wagtailplus.wagtaillinks.views import choosers
from .views.hallo import toggle_hallo_source

"""
Contains admin URLs.
"""




# Override default link chooser URLs, as we are storing both external
# and email links in models.
urlpatterns = [
    url(
        r'^choose-external-link/$',
        choosers.ExternalLinkChooseView.as_view(),
        name='wagtailadmin_choose_page_external_link'
    ),
    url(
        r'^choose-email-link/$',

        choosers.EmailLinkChooseView.as_view(),
