from django.urls import path from django.http import HttpResponse from django.views.generic import TemplateView from .views import * urlpatterns = [ path('', home, name='homepage'), path('search_get', search_result_get, name='search-get'), path('search_post', search_result_post, name='search-post'), path('tools', tools, name='tools-display'), path('profile', user_profile, name='profile'), path('species_add/', species_add, name='species-add'), path('fossil_add/', fossil_add, name='fossil-add'), path('specie//', species, name='species-selected'), path('fossil//', fossil, name='fossil-selected'), path('fossil_update//', fossil_update, name='fossil-update'), path('fossil_delete//', fossil_delete, name='fossil-delete'), path('chart_simple/', chart_simple, name='chart-simple'), path('chart_multi/', chart_multi, name='chart-multi'), path('gatherings/', gatherings, name='gatherings'), path('gathering//', gathering_selected, name='gathering-selected'), path('events/', events, name='events'), path('event//', event_selected, name='event-selected'), path('fossil_event_return//', fossil_event_return, name='fossil-event-return'), path('fossil_event_update//', fossil_event_update, name='fossil-event-update'), path('select_image/', select_image, name='select-image'), path('my_text/', my_text, name='my-text'), path('my_html/', my_html, name='my-html'), path('about/', TemplateView.as_view(template_name='about.html'), name='about'), path('timeline/', timeline, name='timeline-show'), path('print_csv/', print_csv, name='print-csv'), path('print_pdf/', print_pdf, name='print-pdf'), path('print_word/', print_word, name='print-word'), ]