# Path: projects/views.py
# class ProjectList(ListView):
# class ProjectDetailView(DetailView):
# class ProjectCreate(PermissionRequiredMixin, CreateView):
# class ProjectUpdate(PermissionRequiredMixin, UpdateView):
# class ProjectDelete(PermissionRequiredMixin, DeleteView):
# class FundingList(ListView):
# class FundingDetailView(DetailView):
# class FundingCreate(PermissionRequiredMixin, CreateView):
# class FundingUpdate(PermissionRequiredMixin, UpdateView):
# class FundingDelete(PermissionRequiredMixin, DeleteView):


from django.conf.urls import include, url
from projects import views
'''This package has the url encodings for the :mod:`funding` model.'''



urlpatterns = [
    url(r'^new/?$', views.FundingCreate.as_view(), name="funding-new"),     
    url(r'^(?P<title_slug>[-\w\d]+)/edit/?$', views.FundingUpdate.as_view(), name="funding-edit"),  
    url(r'^(?P<title_slug>[-\w\d]+)/delete/?$', views.FundingDelete.as_view(), name="funding-delete"),    
    url(r'^(?P<title_slug>[-\w\d]+)/?$', views.FundingDetailView.as_view(), name="funding-details"),                    

# Path: projects/views.py
# class ProjectList(ListView):
# class ProjectDetailView(DetailView):
# class ProjectCreate(PermissionRequiredMixin, CreateView):
# class ProjectUpdate(PermissionRequiredMixin, UpdateView):
# class ProjectDelete(PermissionRequiredMixin, DeleteView):
# class FundingList(ListView):
# class FundingDetailView(DetailView):
# class FundingCreate(PermissionRequiredMixin, CreateView):
# class FundingUpdate(PermissionRequiredMixin, UpdateView):
# class FundingDelete(PermissionRequiredMixin, DeleteView):


# Path: projects/funding_urls.py
from django.conf.urls import include, url
from projects import views

'''This package has the url encodings for the :mod:`funding` model.'''



urlpatterns = [
    url(r'^new/?$', views.FundingCreate.as_view(), name="funding-new"),     
    url(r'^(?P<title_slug>[-\w\d]+)/edit/?$', views.FundingUpdate.as_view(), name="funding-edit"),  
    url(r'^(?P<title_slug>[-\w\d]+)/delete/?$', views.FundingDelete.as_view(), name="funding-delete"),    
    url(r'^(?P<title_slug>[-\w\d]+)/?$', views.FundingDetailView.as_view(), name="funding-details"),                    

    url(r'^$', views.FundingList.as_view(), name="funding-list"), 