# Path: flowcelltool/users/views.py
# class ProfileView(LoginRequiredMixin, DetailView):
# class UserTokenListView(LoginRequiredMixin, ListView):
# class UserTokenCreateView(LoginRequiredMixin, FormView):
# class UserTokenDeleteView(
#         LoginRequiredMixin, PermissionRequiredMixin, DeleteView):
#     def get_object(self):
#     def get_queryset(self):
#     def form_valid(self, form):


from django.conf.urls import url
from flowcelltool.users import views
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals


urlpatterns = [
    # TODO: add /profile/
    url(
        regex=r'^$',
        view=views.ProfileView.as_view(),
        name='view',
    ),

    url(
        regex=r'^token/$',
        view=views.UserTokenListView.as_view(),
        name='token_list',
    ),

    url(
        regex=r'^token/create/$',

# Path: flowcelltool/users/views.py
# class ProfileView(LoginRequiredMixin, DetailView):
# class UserTokenListView(LoginRequiredMixin, ListView):
# class UserTokenCreateView(LoginRequiredMixin, FormView):
# class UserTokenDeleteView(
#         LoginRequiredMixin, PermissionRequiredMixin, DeleteView):
#     def get_object(self):
#     def get_queryset(self):
#     def form_valid(self, form):


# Path: flowcelltool/users/urls.py
from django.conf.urls import url
from flowcelltool.users import views

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals


urlpatterns = [
    # TODO: add /profile/
    url(
        regex=r'^$',
        view=views.ProfileView.as_view(),
        name='view',
    ),

    url(
        regex=r'^token/$',
        view=views.UserTokenListView.as_view(),
        name='token_list',
    ),

    url(
        regex=r'^token/create/$',

        view=views.UserTokenCreateView.as_view(),