Files
ihrm/leave/resources.py
Ashwanth Balakrishnan 58be33a8d7 Added Pre-Commit Hooks (#175)
* Added pre commit hook

* Run pre commit hook on all files

---------

Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
2024-05-07 12:23:36 +05:30

15 lines
317 B
Python

"""
Module for Import-Export Resources
This module defines resources for exporting and importing data using the django-import-export library.
"""
from import_export import resources
from .models import Holiday
class HolidayResource(resources.ModelResource):
class Meta:
model = Holiday