31 lines
623 B
Python
31 lines
623 B
Python
from import_export import resources
|
|
from . import models
|
|
|
|
class AdsResource(resources.ModelResource):
|
|
class Meta:
|
|
model = models.Ad
|
|
|
|
|
|
class CommentResource(resources.ModelResource):
|
|
class Meta:
|
|
model = models.Comment
|
|
|
|
|
|
class ItemGroupResource(resources.ModelResource):
|
|
class Meta:
|
|
model = models.ItemGroup
|
|
|
|
|
|
class ItemResource(resources.ModelResource):
|
|
class Meta:
|
|
model = models.Item
|
|
|
|
|
|
class TagResource(resources.ModelResource):
|
|
class Meta:
|
|
model = models.Tag
|
|
|
|
|
|
class ThesaurusResource(resources.ModelResource):
|
|
class Meta:
|
|
model = models.Thesaurus
|