3
votes
0answers
31 views

Improving models for a Django quiz

I'm working on a little django quiz taking app. Currently I'm making it's models. So far I've got Quiz, Question, ...
2
votes
0answers
36 views

Proof of concept and learning exercise for the 'ports and adapters' architecture

The script creates a simple app with a GUI containing a input field and a button to select a folder. On startup a default value is set to the input field. If the user types a value or selects a ...
1
vote
3answers
155 views

isinstance as an alternative to polymorphism

I have a program that displays colorful shapes to the user. It is designed so that it is easy to add new shapes, and add new kinds of views. Currently, I have only two shapes, and a single text-based ...
2
votes
1answer
504 views

How can I simplify this basic MVC application?

I'm still learning Python, so I tried to build a basic MVC app using wxPython and pubsub. While it seems to work fine, the code seems to be getting out of hand. In model I decided against using ...
4
votes
2answers
100 views

Is one view that handles two sibling models a good idea?

I am using Django multi-table inheritance: Video and Image are models derived from Media. ...
2
votes
0answers
118 views

Guidance on SoC and passing data between GUI instances (MVC pattern)

I'm fairly new to Python and currently building a small application to record loans of access cards to people in a company. I'm using wxPython for the GUI and SQLAlchemy for the CRUD. I'm loosely ...