plot_detail, delete_map_feature, map_feature_popup, add_map_feature, map_feature_hash, rotate_map_feature_photo, add_map_feature_photo) add_map_feature_photo_do = partial( do, require_http_method("POST"), login_or_401, instance_request, creates_instance_user, render_template('treemap/partials/photo_carousel.html')) ##################################### # misc content views ##################################### edits_view = do( instance_request, requires_feature('recent_edits_report'), render_template('treemap/edits.html'), edits) index_view = instance_request(index) map_view = do( instance_request,
subject = trans('Account Recovery') body = render_to_string('treemap/partials/forgot_username_email.txt', {'user': user, 'password_url': password_reset_url}) user.email_user(subject, body, settings.DEFAULT_FROM_EMAIL) return {'email': user_email} tree_detail_view = instance_request(tree_detail) edits_view = instance_request( requires_feature('recent_edits_report')( render_template('treemap/edits.html', edits))) index_view = instance_request(index) map_view = instance_request( render_template('treemap/map.html', _get_map_view_context)) get_map_feature_detail_view = instance_request(render_map_feature_detail) get_map_feature_add_view = instance_request(render_map_feature_add) edit_plot_detail_view = login_required( instance_request( creates_instance_user( render_template('treemap/plot_detail.html', plot_detail))))
search_tree_benefits, search_hash) from treemap.views.misc import (edits, get_map_view_context, static_page, boundary_to_geojson, boundary_autocomplete, species_list, compile_scss, index) from treemap.views.map_feature import ( render_map_feature_detail, render_map_feature_add, update_map_feature_detail, map_feature_detail, plot_detail, delete_map_feature, map_feature_popup, add_map_feature, map_feature_hash, add_map_feature_photo) add_map_feature_photo_do = partial( do, require_http_method("POST"), login_or_401, instance_request, creates_instance_user, render_template('treemap/partials/photo_carousel.html')) ##################################### # misc content views ##################################### edits_view = do(instance_request, requires_feature('recent_edits_report'), render_template('treemap/edits.html'), edits) index_view = instance_request(index) map_view = do(instance_request, render_template('treemap/map.html'), get_map_view_context) static_page_view = do(instance_request, render_template('treemap/staticpage.html'), static_page)