from django.conf.urls import url

from .views import PortfolioCreateView, PortfolioDetailView, PortfolioListView, \
    PortfolioUpdatePerfView, PortfolioHoldingUpdateView, PortfolioChartView


urlpatterns = [
    url(regex=r'^new/$',
        view=PortfolioCreateView.as_view(),
        name="new"),

    url(regex=r'^(?P<pk>[0-9]+)/detail/$',
        view=PortfolioDetailView.as_view(),
        name="detail"),

    url(regex=r'^list/$',
        view=PortfolioListView.as_view(),
        name="list"),

    url(regex=r'^(?P<pk>[0-9]+)/update_perf/$',
        view=PortfolioUpdatePerfView.as_view(),
        name="update_perf"),

    url(regex=r'^(?P<pk>[0-9]+)/update_hlds/$',
        view=PortfolioHoldingUpdateView.as_view(),
        name="update_hlds"),

    url(regex=r'^(?P<pk>[0-9]+)/chart/$',
        view=PortfolioChartView.as_view(),
        name="chart"),

]

5da5a1a633ef3fc9fb1567f976bb2ae82323a552
<mask token>

<mask token>
urlpatterns = [url(regex='^new/$', view=PortfolioCreateView.as_view(), name
    ='new'), url(regex='^(?P<pk>[0-9]+)/detail/$', view=PortfolioDetailView
    .as_view(), name='detail'), url(regex='^list/$', view=PortfolioListView
    .as_view(), name='list'), url(regex='^(?P<pk>[0-9]+)/update_perf/$',
    view=PortfolioUpdatePerfView.as_view(), name='update_perf'), url(regex=
    '^(?P<pk>[0-9]+)/update_hlds/$', view=PortfolioHoldingUpdateView.
    as_view(), name='update_hlds'), url(regex='^(?P<pk>[0-9]+)/chart/$',
    view=PortfolioChartView.as_view(), name='chart')]

from django.conf.urls import url
from .views import PortfolioCreateView, PortfolioDetailView, PortfolioListView, PortfolioUpdatePerfView, PortfolioHoldingUpdateView, PortfolioChartView
urlpatterns = [url(regex='^new/$', view=PortfolioCreateView.as_view(), name
    ='new'), url(regex='^(?P<pk>[0-9]+)/detail/$', view=PortfolioDetailView
    .as_view(), name='detail'), url(regex='^list/$', view=PortfolioListView
    .as_view(), name='list'), url(regex='^(?P<pk>[0-9]+)/update_perf/$',
    view=PortfolioUpdatePerfView.as_view(), name='update_perf'), url(regex=
    '^(?P<pk>[0-9]+)/update_hlds/$', view=PortfolioHoldingUpdateView.
    as_view(), name='update_hlds'), url(regex='^(?P<pk>[0-9]+)/chart/$',
    view=PortfolioChartView.as_view(), name='chart')]

from django.conf.urls import url

from .views import PortfolioCreateView, PortfolioDetailView, PortfolioListView, \
    PortfolioUpdatePerfView, PortfolioHoldingUpdateView, PortfolioChartView


urlpatterns = [
    url(regex=r'^new/$',
        view=PortfolioCreateView.as_view(),
        name="new"),

    url(regex=r'^(?P<pk>[0-9]+)/detail/$',
        view=PortfolioDetailView.as_view(),
        name="detail"),

    url(regex=r'^list/$',
        view=PortfolioListView.as_view(),
        name="list"),

    url(regex=r'^(?P<pk>[0-9]+)/update_perf/$',
        view=PortfolioUpdatePerfView.as_view(),
        name="update_perf"),

    url(regex=r'^(?P<pk>[0-9]+)/update_hlds/$',
        view=PortfolioHoldingUpdateView.as_view(),
        name="update_hlds"),

    url(regex=r'^(?P<pk>[0-9]+)/chart/$',
        view=PortfolioChartView.as_view(),
        name="chart"),

]
