* Added pre commit hook * Run pre commit hook on all files --------- Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
15 lines
317 B
Python
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
|