Python Forum
Help in finding ExceptionError
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help in finding ExceptionError
#8
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.
Reply


Messages In This Thread
Help in finding ExceptionError - by menator01 - Apr-28-2020, 08:11 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 08:32 PM
RE: Help in finding ExceptionError - by menator01 - Apr-28-2020, 08:40 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 09:01 PM
RE: Help in finding ExceptionError - by menator01 - Apr-28-2020, 09:16 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 09:23 PM
RE: Help in finding ExceptionError - by menator01 - Apr-28-2020, 09:27 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 09:47 PM
RE: Help in finding ExceptionError - by deanhystad - Apr-28-2020, 11:16 PM
RE: Help in finding ExceptionError - by menator01 - Apr-28-2020, 11:21 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020