# Path: communication/views.py
# def generate_twitter_timeline(count):
# def facebook_status_request(type, max):
# def get_wikipedia_edits(username, count):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get(self, request, *args, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
# class TwitterView(TemplateView):
# class GoogleCalendarView(TemplateView):
# class WikipedaEditsView(View):  
# class LabRulesView(TemplateView):
# class PublicationPolicyView(TemplateView):
# class DataResourceSharingPolicyView(TemplateView):
# class FeedDetailView(TemplateView):
# class NewsView(TemplateView):
# class ContactView(ListView):
# class LabLocationView(ListView):
# class PostList(ListView):
# class PostDetail(DetailView):
# class PostCreate(PermissionRequiredMixin, CreateView):
# class PostUpdate(PermissionRequiredMixin, UpdateView):
# class PostDelete(PermissionRequiredMixin, DeleteView):


from django.conf.urls import include, url
from communication import views
'''This package has the url encodings for the :mod:`papers` app.'''



urlpatterns = [
    url(r'^new/?$', views.PostCreate.as_view(), name="post-new"),
    url(r'^(?P<post_slug>[-\w\d]+)/edit/?$', 
        views.PostUpdate.as_view(), 
        name="post-edit"),  
    url(r'^(?P<post_slug>[-\w\d]+)/delete/?$', 
        views.PostDelete.as_view(), 
        name="post-delete"),    
    url(r'^(?P<post_slug>[-\w\d]+)/?$', 
        views.PostDetail.as_view(), 
        name="post-details"),                    

# Path: communication/views.py
# def generate_twitter_timeline(count):
# def facebook_status_request(type, max):
# def get_wikipedia_edits(username, count):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get(self, request, *args, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
# class TwitterView(TemplateView):
# class GoogleCalendarView(TemplateView):
# class WikipedaEditsView(View):  
# class LabRulesView(TemplateView):
# class PublicationPolicyView(TemplateView):
# class DataResourceSharingPolicyView(TemplateView):
# class FeedDetailView(TemplateView):
# class NewsView(TemplateView):
# class ContactView(ListView):
# class LabLocationView(ListView):
# class PostList(ListView):
# class PostDetail(DetailView):
# class PostCreate(PermissionRequiredMixin, CreateView):
# class PostUpdate(PermissionRequiredMixin, UpdateView):
# class PostDelete(PermissionRequiredMixin, DeleteView):


# Path: communication/urls_posts.py
from django.conf.urls import include, url
from communication import views

'''This package has the url encodings for the :mod:`papers` app.'''



urlpatterns = [
    url(r'^new/?$', views.PostCreate.as_view(), name="post-new"),
    url(r'^(?P<post_slug>[-\w\d]+)/edit/?$', 
        views.PostUpdate.as_view(), 
        name="post-edit"),  
    url(r'^(?P<post_slug>[-\w\d]+)/delete/?$', 
        views.PostDelete.as_view(), 
        name="post-delete"),    
    url(r'^(?P<post_slug>[-\w\d]+)/?$', 
        views.PostDetail.as_view(), 
        name="post-details"),                    

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