Apr-28-2020, 09:47 PM
(This post was last modified: Apr-28-2020, 09:47 PM by deanhystad.)
That looks like too much work. Plus I don't have a recipe database.
How about you change your program to do this:
command = AddRecipe
And change AddRecipe.my_form to AddRecipe.__init__
I find your programming style of using Classes to make a namespace instead of making objects to be very strange. I supposed you could call it a factory pattern.
How about you change your program to do this:
command = AddRecipe
And change AddRecipe.my_form to AddRecipe.__init__
I find your programming style of using Classes to make a namespace instead of making objects to be very strange. I supposed you could call it a factory pattern.