This commit is contained in:
parent
9c31bb2611
commit
388ec47078
@ -3,8 +3,8 @@ from flask_restful import Resource
|
|||||||
from flask import request, current_app, abort
|
from flask import request, current_app, abort
|
||||||
from marshmallow import ValidationError
|
from marshmallow import ValidationError
|
||||||
|
|
||||||
from ..model import db, Meal
|
from model import db, Meal
|
||||||
from ..schemas import MealSchema
|
from schemas import MealSchema
|
||||||
|
|
||||||
|
|
||||||
class MealBaseResource(Resource):
|
class MealBaseResource(Resource):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from .marshm import ma
|
from .marshm import ma
|
||||||
from ..model import Ingredient
|
from model import Ingredient
|
||||||
|
|
||||||
|
|
||||||
class IngredientSchema(ma.ModelSchema):
|
class IngredientSchema(ma.ModelSchema):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from .marshm import ma
|
from .marshm import ma
|
||||||
from ..model import Meal
|
from model import Meal
|
||||||
from .ingredientschema import IngredientSchema
|
from .ingredientschema import IngredientSchema
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user