mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-24 01:28:42 +02:00
feat: export (WIP)
This commit is contained in:
9
app/apps/export_app/views.py
Normal file
9
app/apps/export_app/views.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
from apps.export_app.resources.transactions import TransactionResource
|
||||
|
||||
|
||||
# Create your views here.
|
||||
def export(request):
|
||||
dataset = TransactionResource().export()
|
||||
print(dataset.csv)
|
||||
Reference in New Issue
Block a user