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

"""URLs to manipulate columns."""
from django.urls import path

from ontask.condition import views

app_name = 'condition'

urlpatterns = [
    #
    # FILTERS
    #
    path(
        '<int:pk>/create_filter/',
        views.FilterCreateView.as_view(),
        name='create_filter'),
    path('<int:pk>/edit_filter/', views.edit_filter, name='edit_filter'),
    path('<int:pk>/delete_filter/', views.delete_filter, name='delete_filter'),

    #
    # CONDITIONS
    #
    path(
        '<int:pk>/create_condition/',
        views.ConditionCreateView.as_view(),
        name='create_condition'),
    path(
        '<int:pk>/edit_condition/',
        views.edit_condition,
        name='edit_condition'),
    path(
        '<int:pk>/delete_condition/',
        views.delete_condition,
        name='delete_condition'),

    # Clone the condition
    path(
        '<int:pk>/clone_condition/',
        views.clone_condition,
        name='clone_condition'),
    path(
        '<int:pk>/<int:action_pk>/clone_condition/',
        views.clone_condition,
        name='clone_condition'),
]

[((18, 4, 18, 72), 'django.urls.path', 'path', (), '', False, 'from django.urls import path\n'), ((19, 4, 19, 78), 'django.urls.path', 'path', (), '', False, 'from django.urls import path\n'), ((28, 4, 31, 30), 'django.urls.path', 'path', (), '', False, 'from django.urls import path\n'), ((32, 4, 35, 32), 'django.urls.path', 'path', (), '', False, 'from django.urls import path\n'), ((38, 4, 41, 31), 'django.urls.path', 'path', (), '', False, 'from django.urls import path\n'), ((42, 4, 45, 31), 'django.urls.path', 'path', (), '', False, 'from django.urls import path\n'), ((16, 8, 16, 40), 'ontask.condition.views.FilterCreateView.as_view', 'views.FilterCreateView.as_view', ({}, {}), '()', False, 'from ontask.condition import views\n'), ((26, 8, 26, 43), 'ontask.condition.views.ConditionCreateView.as_view', 'views.ConditionCreateView.as_view', ({}, {}), '()', False, 'from ontask.condition import views\n')]